set_irq_chip() has redundant call to irq_to_desc()
PATCH 1/1 set_irq_chip() has redundant call to irq_to_desc()
Extraneous call to irq_to_desc().
Signed-off-by Dean Nelson <[email protected]>
---
kernel/irq/chip.c | 1 - 1 file changed, 1 deletion(-)
kernel/irq/chip.c +0 -1
@@ -102,7 +102,6 @@ int set_irq_chip(unsigned int irq, strucif (!chip) chip = &no_irq_chip; - desc =irq_to_desc (irq);spin_lock_irqsave (&desc->lock, flags);irq_chip_set_defaults (chip); desc->chip = chip;
Ingo Molnar
AppliedQuoted 3 lines · Dean Nelson
Extraneous call to
irq_to_desc().Signed-off-by Dean Nelson <[email protected]>
applied to tip/irq/sparseirq, thanks.
Ingo