irq: Remove irq_chip->release()
authorRichard Weinberger <richard@nod.at>
Tue, 17 Apr 2012 20:37:16 +0000 (22:37 +0200)
committerRichard Weinberger <richard@nod.at>
Mon, 21 May 2012 19:09:38 +0000 (21:09 +0200)
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>
include/linux/irq.h
kernel/irq/manage.c

index b27cfcfd3a59c15319488580a14de42c18174744..61f5cec031e0345bebb8e506f9727b57069dc706 100644 (file)
@@ -335,11 +335,6 @@ struct irq_chip {
        void            (*irq_print_chip)(struct irq_data *data, struct seq_file *p);
 
        unsigned long   flags;
-
-       /* Currently used only by UML, might disappear one day.*/
-#ifdef CONFIG_IRQ_RELEASE_METHOD
-       void            (*release)(unsigned int irq, void *dev_id);
-#endif
 };
 
 /*
index 89a3ea82569b00ac69da1bec696a90bce878790a..9b7f68a00e5ebd45ce5514ac43521c1c53f98fdb 100644 (file)
@@ -1204,12 +1204,6 @@ static struct irqaction *__free_irq(unsigned int irq, void *dev_id)
        /* Found it - now remove it from the list of entries: */
        *action_ptr = action->next;
 
-       /* Currently used only by UML, might disappear one day: */
-#ifdef CONFIG_IRQ_RELEASE_METHOD
-       if (desc->irq_data.chip->release)
-               desc->irq_data.chip->release(irq, dev_id);
-#endif
-
        /* If this was the last handler, shut down the IRQ line: */
        if (!desc->action)
                irq_shutdown(desc);