Received: from eggs.gnu.org ([140.186.70.92]:35573) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R39wp-0001JA-G2 for qemu-devel@nongnu.org; Mon, 12 Sep 2011 13:05:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R39wo-0001EI-BO for qemu-devel@nongnu.org; Mon, 12 Sep 2011 13:05:31 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:33580) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R39wo-0001DX-0Y for qemu-devel@nongnu.org; Mon, 12 Sep 2011 13:05:30 -0400 Message-ID: <4E6E3B9E.7090500@mail.berlios.de> Date: Mon, 12 Sep 2011 19:04:30 +0200 From: Stefan Weil MIME-Version: 1.0 References: <1315821825-27492-1-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1315821825-27492-1-git-send-email-peter.maydell@linaro.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] tcg/arm: Remove unused tcg_out_addi() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: patches@linaro.org, qemu-devel@nongnu.org, Richard Henderson Am 12.09.2011 12:03, schrieb Peter Maydell: > Remove the unused function tcg_out_addi() from the ARM TCG backend; > this fixes a compilation failure on ARM hosts with newer gcc. > > Signed-off-by: Peter Maydell > --- > A previous patch from Richard Henderson for this compile failure: > http://patchwork.ozlabs.org/patch/110400/ > was rejected, so here's another go. This simply removes the unused > function, > in line with the approach taken for ppc/ppc64 in commits 1a2eb162414 and > c24a9c6ef94. > > If this is accepted I can do the equivalent patches for tcg/ia64 and > tcg/s390 > (although those don't cause compile failures because the unused function > happens to be marked 'inline'.) > > tcg/arm/tcg-target.c | 15 --------------- > 1 files changed, 0 insertions(+), 15 deletions(-) > Are you sure that those functions will never be needed again? If yes, your solution is ok. I was not sure - that's the reason why I had sent a patch using inline. #if 0 ... #endif and a comment might also be a solution for possible future usage. Stefan