summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-10-15 14:34:09 +0200
committerIngo Molnar <mingo@elte.hu>2008-10-16 16:53:15 +0200
commitee32c9732244bde4b9b59eeac2814c23e2b71f8d (patch)
tree6164d4d8b67a8f870f01d70eefff52ea84a8d22d /include
parent2cc21ef843d4fb7da122239b644a1f6f0aca60a6 (diff)
downloadlinux-ee32c9732244bde4b9b59eeac2814c23e2b71f8d.tar.gz
linux-ee32c9732244bde4b9b59eeac2814c23e2b71f8d.tar.bz2
linux-ee32c9732244bde4b9b59eeac2814c23e2b71f8d.zip
genirq: remove irq_to_desc_alloc
Remove the leftover of sparseirqs. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include')
-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)
return (irq < nr_irqs) ? irq_desc + irq : NULL;
}
-static inline struct irq_desc *irq_to_desc_alloc(unsigned int irq)
-{
- return irq_to_desc(irq);
-}
-
#ifdef CONFIG_HAVE_DYN_ARRAY
#define kstat_irqs_this_cpu(DESC) \
((DESC)->kstat_irqs[smp_processor_id()])