qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] tcg/arm: Remove unused tcg_out_addi()


From: Stefan Weil
Subject: Re: [Qemu-devel] [PATCH] tcg/arm: Remove unused tcg_out_addi()
Date: Mon, 12 Sep 2011 19:04:30 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110818 Iceowl/1.0b1 Icedove/3.0.11

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 <address@hidden>
---
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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]