From: Richard Henderson Date: Sat, 25 Feb 2023 04:11:32 +0000 (-1000) Subject: target/avr: Drop R from trans_COM X-Git-Tag: qemu-xen-4.18.0-rc5~288^2~54 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=365a0c5439aefaa54fad0fc3f83b6918afa7ee3f;p=qemu-xen.git target/avr: Drop R from trans_COM This variable is not used, only allocated and freed. Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson --- diff --git a/target/avr/translate.c b/target/avr/translate.c index e7f0e2bbe3..4f8112c3e6 100644 --- a/target/avr/translate.c +++ b/target/avr/translate.c @@ -670,7 +670,6 @@ static bool trans_EOR(DisasContext *ctx, arg_EOR *a) static bool trans_COM(DisasContext *ctx, arg_COM *a) { TCGv Rd = cpu_r[a->rd]; - TCGv R = tcg_temp_new_i32(); tcg_gen_xori_tl(Rd, Rd, 0xff); @@ -678,9 +677,6 @@ static bool trans_COM(DisasContext *ctx, arg_COM *a) tcg_gen_movi_tl(cpu_Cf, 1); /* Cf = 1 */ tcg_gen_movi_tl(cpu_Vf, 0); /* Vf = 0 */ gen_ZNSf(Rd); - - tcg_temp_free_i32(R); - return true; }