IRQ_MASKED is set in mask_ack_irq() anyway. Remove it from
handle_edge_irq() to allow simpler ab^HHreuse of that function.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <
20110202212551.
918484270@linutronix.de>
if (unlikely((desc->status & (IRQ_INPROGRESS | IRQ_DISABLED)) ||
!desc->action)) {
if (!irq_check_poll(desc)) {
- desc->status |= (IRQ_PENDING | IRQ_MASKED);
+ desc->status |= IRQ_PENDING;
mask_ack_irq(desc);
goto out_unlock;
}