aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/manage.c
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2012-04-17 16:37:16 -0400
committerRichard Weinberger <richard@nod.at>2012-05-21 15:09:38 -0400
commit875682648b89a3ebc06176d60dc280f810647839 (patch)
tree515e2e1d69b18954b6e750e5e1aa042cc29c6bee /kernel/irq/manage.c
parent985a94a96d294fe6d2c72d013de09b81b637ed58 (diff)
irq: Remove irq_chip->release()
As it's only user (UML) does no longer need it we can get rid of it. Signed-off-by: Richard Weinberger <richard@nod.at> Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
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 89a3ea82569b..9b7f68a00e5e 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -1204,12 +1204,6 @@ static struct irqaction *__free_irq(unsigned int irq, void *dev_id)
1204 /* Found it - now remove it from the list of entries: */ 1204 /* Found it - now remove it from the list of entries: */
1205 *action_ptr = action->next; 1205 *action_ptr = action->next;
1206 1206
1207 /* Currently used only by UML, might disappear one day: */
1208#ifdef CONFIG_IRQ_RELEASE_METHOD
1209 if (desc->irq_data.chip->release)
1210 desc->irq_data.chip->release(irq, dev_id);
1211#endif
1212
1213 /* If this was the last handler, shut down the IRQ line: */ 1207 /* If this was the last handler, shut down the IRQ line: */
1214 if (!desc->action) 1208 if (!desc->action)
1215 irq_shutdown(desc); 1209 irq_shutdown(desc);