From 14abf2231160f08eeae0f61f970c3f1d9a137952 Mon Sep 17 00:00:00 2001 From: Yongbok Kim Date: Tue, 13 Feb 2018 20:50:00 -0500 Subject: [PATCH] target-mips: remove an unused argument Remove an unused argument from decode_micromips32_opc() Backports commit f60eeb0c5ddd8ceb8ca6b3ba032159027afab67a from qemu --- qemu/target-mips/translate.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/qemu/target-mips/translate.c b/qemu/target-mips/translate.c index 0dbca6bc..b98af346 100644 --- a/qemu/target-mips/translate.c +++ b/qemu/target-mips/translate.c @@ -13500,8 +13500,7 @@ static void gen_pool32fxf(DisasContext *ctx, int rt, int rs) } } -static void decode_micromips32_opc (CPUMIPSState *env, DisasContext *ctx, - uint16_t insn_hw1) +static void decode_micromips32_opc(CPUMIPSState *env, DisasContext *ctx) { int32_t offset; uint16_t insn; @@ -14554,7 +14553,7 @@ static int decode_micromips_opc (CPUMIPSState *env, DisasContext *ctx, bool *ins generate_exception(ctx, EXCP_RI); break; default: - decode_micromips32_opc (env, ctx, op); + decode_micromips32_opc(env, ctx); return 4; }