diff options
-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) | |||
102 | if (!chip) | 102 | if (!chip) |
103 | chip = &no_irq_chip; | 103 | chip = &no_irq_chip; |
104 | 104 | ||
105 | desc = irq_to_desc(irq); | ||
106 | spin_lock_irqsave(&desc->lock, flags); | 105 | spin_lock_irqsave(&desc->lock, flags); |
107 | irq_chip_set_defaults(chip); | 106 | irq_chip_set_defaults(chip); |
108 | desc->chip = chip; | 107 | desc->chip = chip; |