diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-01-26 12:12:21 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2015-02-10 09:27:20 +0300 |
commit | a7fa2e9783ee957635d23ddab151a8be97df5b2a (patch) | |
tree | 09072a4ff4de6806bb9a70397872fa41cc135317 /cpu-exec.c | |
parent | dbfe1b6aef1751bced58cbd4a7a3868721ace2ba (diff) |
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 <pbonzini@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'cpu-exec.c')
-rw-r--r-- | cpu-exec.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cpu-exec.c b/cpu-exec.c index fa506e628a..4ff1b236a1 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: |