From: Paolo Bonzini Date: Mon, 26 Jan 2015 11:12:21 +0000 (+0100) Subject: cpu-exec: drop dead assignment X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~350^2~31 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a7fa2e9783ee957635d23ddab151a8be97df5b2a;p=sdk%2Femulator%2Fqemu.git cpu-exec: drop dead assignment All uses of TB inside cpu_exec are dominated by "tb = tb_find_fast(env)", and there are no uses after the switch statement. So the assignment is dead, as reported by Coverity. Signed-off-by: Paolo Bonzini Signed-off-by: Michael Tokarev --- diff --git a/cpu-exec.c b/cpu-exec.c index fa506e6..4ff1b23 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -494,7 +494,6 @@ int cpu_exec(CPUArchState *env) * interrupt_request) which we will handle * next time around the loop. */ - tb = (TranslationBlock *)(next_tb & ~TB_EXIT_MASK); next_tb = 0; break; case TB_EXIT_ICOUNT_EXPIRED: