diff options
author | KONRAD Frederic | 2017-03-24 13:55:47 +0100 |
---|---|---|
committer | Michael Tokarev | 2017-05-07 08:57:51 +0200 |
commit | 2d812d6dff5267d80c54125f15a090539573d29e (patch) | |
tree | e7504d703dd1c109a351e8dfe8755f9fd05c2ea0 /hw/ppc/ppc_booke.c | |
parent | Remove reduntant qemu: from error functions (diff) | |
download | qemu-2d812d6dff5267d80c54125f15a090539573d29e.tar.gz qemu-2d812d6dff5267d80c54125f15a090539573d29e.tar.xz qemu-2d812d6dff5267d80c54125f15a090539573d29e.zip |
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>
Diffstat (limited to 'hw/ppc/ppc_booke.c')
-rw-r--r-- | hw/ppc/ppc_booke.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/ppc/ppc_booke.c b/hw/ppc/ppc_booke.c index 60baffaf1d..23bcf1b138 100644 --- a/hw/ppc/ppc_booke.c +++ b/hw/ppc/ppc_booke.c @@ -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); |