aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/manage.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/irq/manage.c')
-rw-r--r--kernel/irq/manage.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index 585f6381f8e4..bb32326afe87 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -1220,12 +1220,6 @@ static struct irqaction *__free_irq(unsigned int irq, void *dev_id)
1220 /* Found it - now remove it from the list of entries: */ 1220 /* Found it - now remove it from the list of entries: */
1221 *action_ptr = action->next; 1221 *action_ptr = action->next;
1222 1222
1223 /* Currently used only by UML, might disappear one day: */
1224#ifdef CONFIG_IRQ_RELEASE_METHOD
1225 if (desc->irq_data.chip->release)
1226 desc->irq_data.chip->release(irq, dev_id);
1227#endif
1228
1229 /* If this was the last handler, shut down the IRQ line: */ 1223 /* If this was the last handler, shut down the IRQ line: */
1230 if (!desc->action) 1224 if (!desc->action)
1231 irq_shutdown(desc); 1225 irq_shutdown(desc);