From ce0c6930cc2c199eee2d391e23759204a235b162 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 4 May 2011 13:34:26 -0700 Subject: [PATCH] target-mips: Do not check CPU_INTERRUPT_TIMER. This bit is never set, therefore we should not read it either. Signed-off-by: Richard Henderson Signed-off-by: Blue Swirl --- target-mips/exec.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/target-mips/exec.h b/target-mips/exec.h index b3c5a13f56..607edf12ca 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; }