diff mbox

[2/2] tcg/s390: Remove unused tcg_out_addi()

Message ID 1317473789-30122-1-git-send-email-peter.maydell@linaro.org
State New
Headers show

Commit Message

Peter Maydell Oct. 1, 2011, 12:56 p.m. UTC
Remove the unused function tcg_out_addi() from the s390 TCG backend;
this brings it into line with other backends.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
 tcg/s390/tcg-target.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

Comments

Richard Henderson Oct. 1, 2011, 3:27 p.m. UTC | #1
On 10/01/2011 05:56 AM, Peter Maydell wrote:
> Remove the unused function tcg_out_addi() from the s390 TCG backend;
> this brings it into line with other backends.
> 
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

Acked-by: Richard Henderson <rth@twiddle.net>


r~
diff mbox

Patch

diff --git a/tcg/s390/tcg-target.c b/tcg/s390/tcg-target.c
index b58df71..9317fe8 100644
--- a/tcg/s390/tcg-target.c
+++ b/tcg/s390/tcg-target.c
@@ -2322,8 +2322,3 @@  static void tcg_target_qemu_prologue(TCGContext *s)
     /* br %r14 (return) */
     tcg_out_insn(s, RR, BCR, S390_CC_ALWAYS, TCG_REG_R14);
 }
-
-static inline void tcg_out_addi(TCGContext *s, int reg, tcg_target_long val)
-{
-    tcg_abort();
-}