ppc_booke: drop useless assignment
The tb_env variable is set two lines above. So just drop the double assignment. Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
d0e31a105e
commit
2d812d6dff
@ -282,7 +282,6 @@ void store_booke_tcr(CPUPPCState *env, target_ulong val)
|
|||||||
ppc_tb_t *tb_env = env->tb_env;
|
ppc_tb_t *tb_env = env->tb_env;
|
||||||
booke_timer_t *booke_timer = tb_env->opaque;
|
booke_timer_t *booke_timer = tb_env->opaque;
|
||||||
|
|
||||||
tb_env = env->tb_env;
|
|
||||||
env->spr[SPR_BOOKE_TCR] = val;
|
env->spr[SPR_BOOKE_TCR] = val;
|
||||||
kvmppc_set_tcr(cpu);
|
kvmppc_set_tcr(cpu);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user