aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/irq')
-rw-r--r--kernel/irq/chip.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c
index 3c3fec55f6d1..736cb0bd498f 100644
--- a/kernel/irq/chip.c
+++ b/kernel/irq/chip.c
@@ -40,10 +40,6 @@ int set_irq_chip(unsigned int irq, struct irq_chip *chip)
40 spin_lock_irqsave(&desc->lock, flags); 40 spin_lock_irqsave(&desc->lock, flags);
41 irq_chip_set_defaults(chip); 41 irq_chip_set_defaults(chip);
42 desc->chip = chip; 42 desc->chip = chip;
43 /*
44 * For compatibility only:
45 */
46 desc->chip = chip;
47 spin_unlock_irqrestore(&desc->lock, flags); 43 spin_unlock_irqrestore(&desc->lock, flags);
48 44
49 return 0; 45 return 0;