]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
genirq: Remove __irq_set_handler_locked()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 16 Sep 2015 10:54:23 +0000 (12:54 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 16 Sep 2015 13:43:11 +0000 (15:43 +0200)
All users converted to irq_set_handler_locked()

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/irqdesc.h

index 29741382593c225947f0ff44e6ffd1a15f8fe895..dce395cd67ded1a6a24441ec836fa7cd85de1693 100644 (file)
@@ -174,16 +174,6 @@ static inline int irq_has_action(unsigned int irq)
        return irq_desc_has_action(irq_to_desc(irq));
 }
 
-/* caller has locked the irq_desc and both params are valid */
-static inline void __irq_set_handler_locked(unsigned int irq,
-                                           irq_flow_handler_t handler)
-{
-       struct irq_desc *desc;
-
-       desc = irq_to_desc(irq);
-       desc->handle_irq = handler;
-}
-
 /**
  * irq_set_handler_locked - Set irq handler from a locked region
  * @data:      Pointer to the irq_data structure which identifies the irq