From 55818ad8126c2dd3de690b051c88e496bcf6ce09 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Tue, 24 Jun 2014 00:06:34 +0100 Subject: [PATCH] target-s390x: Remove unused ld_code6() function The ld_code6() function is unused; remove it. Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Signed-off-by: Michael Tokarev --- target-s390x/translate.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/target-s390x/translate.c b/target-s390x/translate.c index 8ca4824d60..e2a1d05f15 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) {