mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
genirq: remove irq_to_desc_alloc
Remove the leftover of sparseirqs. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
2cc21ef843
commit
ee32c97322
5 changed files with 4 additions and 13 deletions
|
@ -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()])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue