diff options
Diffstat (limited to 'include/linux/irq.h')
-rw-r--r-- | include/linux/irq.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h index 68e0f3f9df30..3f33c7790300 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h | |||
@@ -210,11 +210,6 @@ static inline struct irq_desc *irq_to_desc(unsigned int irq) | |||
210 | return (irq < nr_irqs) ? irq_desc + irq : NULL; | 210 | return (irq < nr_irqs) ? irq_desc + irq : NULL; |
211 | } | 211 | } |
212 | 212 | ||
213 | static inline struct irq_desc *irq_to_desc_alloc(unsigned int irq) | ||
214 | { | ||
215 | return irq_to_desc(irq); | ||
216 | } | ||
217 | |||
218 | #ifdef CONFIG_HAVE_DYN_ARRAY | 213 | #ifdef CONFIG_HAVE_DYN_ARRAY |
219 | #define kstat_irqs_this_cpu(DESC) \ | 214 | #define kstat_irqs_this_cpu(DESC) \ |
220 | ((DESC)->kstat_irqs[smp_processor_id()]) | 215 | ((DESC)->kstat_irqs[smp_processor_id()]) |