genirq: remove irq_to_desc_alloc

Remove the leftover of sparseirqs.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Thomas Gleixner
2008-10-15 14:34:09 +02:00
committed by Ingo Molnar
parent 2cc21ef843
commit ee32c97322
5 changed files with 4 additions and 13 deletions

View File

@@ -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;