irq: set_irq_chip() has redundant call to irq_to_desc()
Extraneous call to irq_to_desc(). Signed-off-by: Dean Nelson <dcn@sgi.com> Cc: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
e65ef88c20
commit
21056830c4
1 changed files with 0 additions and 1 deletions
|
@ -102,7 +102,6 @@ int set_irq_chip(unsigned int irq, struct irq_chip *chip)
|
||||||
if (!chip)
|
if (!chip)
|
||||||
chip = &no_irq_chip;
|
chip = &no_irq_chip;
|
||||||
|
|
||||||
desc = irq_to_desc(irq);
|
|
||||||
spin_lock_irqsave(&desc->lock, flags);
|
spin_lock_irqsave(&desc->lock, flags);
|
||||||
irq_chip_set_defaults(chip);
|
irq_chip_set_defaults(chip);
|
||||||
desc->chip = chip;
|
desc->chip = chip;
|
||||||
|
|
Loading…
Reference in a new issue