Skip to content

Commit

Permalink
ppc_booke: drop useless assignment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
konrad-fred authored and Michael Tokarev committed May 7, 2017
1 parent d0e31a1 commit 2d812d6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion hw/ppc/ppc_booke.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 2d812d6

Please sign in to comment.