aboutsummaryrefslogtreecommitdiff
path: root/target-s390x/translate.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-06-24 00:06:34 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2014-06-24 20:01:24 +0400
commit55818ad8126c2dd3de690b051c88e496bcf6ce09 (patch)
treeb53bdd5a85003e9831c233bc0655c172117f66c6 /target-s390x/translate.c
parent64e64ef609a1661c7115a4d29817f328810efcbc (diff)
downloadqemu-55818ad8126c2dd3de690b051c88e496bcf6ce09.zip
qemu-55818ad8126c2dd3de690b051c88e496bcf6ce09.tar.gz
qemu-55818ad8126c2dd3de690b051c88e496bcf6ce09.tar.bz2
target-s390x: Remove unused ld_code6() function
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>
Diffstat (limited to 'target-s390x/translate.c')
-rw-r--r--target-s390x/translate.c5
1 files changed, 0 insertions, 5 deletions
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) {