diff mbox

[PULL,12/14] target-s390x: Remove unused ld_code6() function

Message ID 1403626160-15546-13-git-send-email-mjt@msgid.tls.msk.ru
State Accepted
Commit 55818ad8126c2dd3de690b051c88e496bcf6ce09
Headers show

Commit Message

Michael Tokarev June 24, 2014, 4:09 p.m. UTC
From: Peter Maydell <peter.maydell@linaro.org>

The ld_code6() function is unused; remove it.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 target-s390x/translate.c |    5 -----
 1 file changed, 5 deletions(-)
diff mbox

Patch

diff --git a/target-s390x/translate.c b/target-s390x/translate.c
index 8ca4824..e2a1d05 100644
--- a/target-s390x/translate.c
+++ b/target-s390x/translate.c
@@ -264,11 +264,6 @@  static inline uint64_t ld_code4(CPUS390XState *env, uint64_t pc)
     return (uint64_t)(uint32_t)cpu_ldl_code(env, pc);
 }
 
-static inline uint64_t ld_code6(CPUS390XState *env, uint64_t pc)
-{
-    return (ld_code2(env, pc) << 32) | ld_code4(env, pc + 2);
-}
-
 static int get_mem_index(DisasContext *s)
 {
     switch (s->tb->flags & FLAG_MASK_ASC) {