diff mbox

[3/8] target-mips: Do not check CPU_INTERRUPT_TIMER.

Message ID 1304202271-24730-4-git-send-email-rth@twiddle.net
State New
Headers show

Commit Message

Richard Henderson April 30, 2011, 10:24 p.m. UTC
This bit is never set, therefore we should not read it either.

Signed-off-by: Richard Henderson <rth@twiddle.net>
---
 target-mips/exec.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
diff mbox

Patch

diff --git a/target-mips/exec.h b/target-mips/exec.h
index b3c5a13..607edf1 100644
--- a/target-mips/exec.h
+++ b/target-mips/exec.h
@@ -29,10 +29,6 @@  static inline int cpu_has_work(CPUState *env)
         has_work = 1;
     }
 
-    if (env->interrupt_request & CPU_INTERRUPT_TIMER) {
-        has_work = 1;
-    }
-
     return has_work;
 }