diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-10-15 14:34:09 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 16:53:15 +0200 |
commit | ee32c9732244bde4b9b59eeac2814c23e2b71f8d (patch) | |
tree | 6164d4d8b67a8f870f01d70eefff52ea84a8d22d /include/linux/irq.h | |
parent | 2cc21ef843d4fb7da122239b644a1f6f0aca60a6 (diff) | |
download | op-kernel-dev-ee32c9732244bde4b9b59eeac2814c23e2b71f8d.zip op-kernel-dev-ee32c9732244bde4b9b59eeac2814c23e2b71f8d.tar.gz |
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.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h index 68e0f3f..3f33c77 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()]) |