From: Thomas Gleixner Date: Wed, 16 Sep 2015 10:54:23 +0000 (+0200) Subject: genirq: Remove __irq_set_handler_locked() X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=123236ccacc933daac3b39c5eb1f0011c70d41d8;p=sagit-ice-cold%2Fkernel_xiaomi_msm8998.git genirq: Remove __irq_set_handler_locked() All users converted to irq_set_handler_locked() Signed-off-by: Thomas Gleixner --- diff --git a/include/linux/irqdesc.h b/include/linux/irqdesc.h index 29741382593c..dce395cd67de 100644 --- a/include/linux/irqdesc.h +++ b/include/linux/irqdesc.h @@ -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