diff --git a/drivers/irqchip/irq-bcm2835.c b/drivers/irqchip/irq-bcm2835.c index b91ce4b6a107fc..4995b8e9465135 100644 --- a/drivers/irqchip/irq-bcm2835.c +++ b/drivers/irqchip/irq-bcm2835.c @@ -343,7 +343,7 @@ static void bcm2836_chained_handle_irq(struct irq_desc *desc) { u32 hwirq; - while ((hwirq = get_next_armctrl_hwirq()) != ~0) + if ((hwirq = get_next_armctrl_hwirq()) != ~0) generic_handle_domain_irq(intc.domain, hwirq); }