From: Richard Henderson Date: Wed, 4 May 2011 20:34:26 +0000 (-0700) Subject: target-mips: Do not check CPU_INTERRUPT_TIMER. X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ce0c6930cc2c199eee2d391e23759204a235b162;p=qemu.git 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 --- 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; }