diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index 4ef555c50db8da27f02106e1ca50e656ad47e6bb..570d1ea1db5daee44bff774b3e8cc8a37b717f1b 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;