diff options
author | Dean Nelson <dcn@sgi.com> | 2008-09-05 09:10:40 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 16:53:07 +0200 |
commit | 21056830c4e5c6735f1d49453398d7186ca4e8d7 (patch) | |
tree | 635346e86f1683e03aaeedbcc5a2907d971f770c /kernel/irq | |
parent | e65ef88c20d5c68bde18f559e0d0ad7d718beb28 (diff) |
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>
Diffstat (limited to 'kernel/irq')
-rw-r--r-- | kernel/irq/chip.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index 4ef555c50db8..570d1ea1db5d 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c @@ -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; |