genirq: remove irq_to_desc_alloc
Remove the leftover of sparseirqs. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:

committed by
Ingo Molnar

parent
2cc21ef843
commit
ee32c97322
@@ -28,7 +28,7 @@ void dynamic_irq_init(unsigned int irq)
|
||||
unsigned long flags;
|
||||
|
||||
/* first time to use this irq_desc */
|
||||
desc = irq_to_desc_alloc(irq);
|
||||
desc = irq_to_desc(irq);
|
||||
if (!desc) {
|
||||
WARN(1, KERN_ERR "Trying to initialize invalid IRQ%d\n", irq);
|
||||
return;
|
||||
|
Reference in New Issue
Block a user