diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2008-10-15 08:34:09 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 10:53:15 -0400 |
| commit | ee32c9732244bde4b9b59eeac2814c23e2b71f8d (patch) | |
| tree | 6164d4d8b67a8f870f01d70eefff52ea84a8d22d /include | |
| parent | 2cc21ef843d4fb7da122239b644a1f6f0aca60a6 (diff) | |
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.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()]) |
