Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 21056830 authored by Dean Nelson's avatar Dean Nelson Committed by Ingo Molnar
Browse files

irq: set_irq_chip() has redundant call to irq_to_desc()



Extraneous call to irq_to_desc().

Signed-off-by: default avatarDean Nelson <dcn@sgi.com>
Cc: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent e65ef88c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -102,7 +102,6 @@ int set_irq_chip(unsigned int irq, struct irq_chip *chip)
	if (!chip)
		chip = &no_irq_chip;

	desc = irq_to_desc(irq);
	spin_lock_irqsave(&desc->lock, flags);
	irq_chip_set_defaults(chip);
	desc->chip = chip;