diff options
Diffstat (limited to 'kernel/irq/chip.c')
-rw-r--r-- | kernel/irq/chip.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index b7091d5ca2f8..4ea775cc60f0 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c | |||
@@ -344,8 +344,6 @@ void irq_chip_set_defaults(struct irq_chip *chip) | |||
344 | if (!chip->shutdown) | 344 | if (!chip->shutdown) |
345 | chip->shutdown = chip->disable != default_disable ? | 345 | chip->shutdown = chip->disable != default_disable ? |
346 | chip->disable : default_shutdown; | 346 | chip->disable : default_shutdown; |
347 | if (!chip->name) | ||
348 | chip->name = chip->typename; | ||
349 | if (!chip->end) | 347 | if (!chip->end) |
350 | chip->end = dummy_irq_chip.end; | 348 | chip->end = dummy_irq_chip.end; |
351 | } | 349 | } |