ppc_booke: drop useless assignment
PATCH 1/1 ppc_booke: drop useless assignment
From: KONRAD Frederic <[email protected]>
The tb_env variable is set two lines above. So just drop the double assignment.
Signed-off-by KONRAD Frederic <[email protected]>
--- hw/ppc/ppc_booke.c | 1 - 1 file changed, 1 deletion(-)
hw/ppc/ppc_booke.c +0 -1
@@ -282,7 +282,6 @@ void store_booke_tcr(CPUPPCState *env, target_ulong val)ppc_tb_t *tb_env = env->tb_env;booke_timer_t *booke_timer = tb_env->opaque; - tb_env = env->tb_env; env->spr[SPR_BOOKE_TCR ] = val;kvmppc_set_tcr (cpu);
Signature · 1 line
1.8.3.1
Quoted 15 lines · Le 24/03/2017 à 13:55, [email protected] a écrit :
From: KONRAD Frederic <[email protected]>
The
tb_envvariable is set two lines above. So just drop the double assignment.Signed-off-by KONRAD Frederic <[email protected]>--- hw/ppc/ppc_booke.c | 1 - 1 file changed, 1 deletion(-)hw/ppc/ppc_booke.c +0
-0
hw/ppc/ppc_booke.c void store_booke_tcr(CPUPPCState *env, target_ulong val) · line 287
Quoted 7 lines
hw/ppc/ppc_booke.c +0
-1@@ -282,7 +282,6 @@ void store_booke_tcr(CPUPPCState *env, target_ulong val)ppc_tb_t *tb_env = env->tb_env;booke_timer_t *booke_timer = tb_env->opaque; - tb_env = env->tb_env; env->spr[SPR_BOOKE_TCR ] = val;kvmppc_set_tcr (cpu);
Reviewed-by Laurent Vivier <[email protected]>
Michael Tokarev
AppliedQuoted 3 lines · 24.03.2017 15:55, [email protected] wrote:
From: KONRAD Frederic <[email protected]>
The
tb_envvariable is set two lines above. So just drop the double assignment.
Applied to -trivial, thanks!
/mjt