summaryrefslogtreecommitdiff
path: root/include/linux/irqdesc.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2015-09-16 13:54:23 +0300
committerThomas Gleixner <tglx@linutronix.de>2015-09-16 16:43:11 +0300
commit123236ccacc933daac3b39c5eb1f0011c70d41d8 (patch)
tree2a5852cc35b7123604b070beddb06a2aac1af217 /include/linux/irqdesc.h
parent7c51173adde2ec520348812214704313f5b36f75 (diff)
downloadlinux-123236ccacc933daac3b39c5eb1f0011c70d41d8.tar.xz
genirq: Remove __irq_set_handler_locked()
All users converted to irq_set_handler_locked() Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/irqdesc.h')
-rw-r--r--include/linux/irqdesc.h10
1 files changed, 0 insertions, 10 deletions
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