aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/irq.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-10-15 08:34:09 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-16 10:53:15 -0400
commitee32c9732244bde4b9b59eeac2814c23e2b71f8d (patch)
tree6164d4d8b67a8f870f01d70eefff52ea84a8d22d /include/linux/irq.h
parent2cc21ef843d4fb7da122239b644a1f6f0aca60a6 (diff)
genirq: remove irq_to_desc_alloc
Remove the leftover of sparseirqs. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/irq.h')
-rw-r--r--include/linux/irq.h5
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
213static 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()])