|
@@ -3003,8 +3003,8 @@ void destroy_irq(unsigned int irq)
|
|
|
|
|
|
irq_set_status_flags(irq, IRQ_NOREQUEST|IRQ_NOPROBE);
|
|
|
|
|
|
- if (irq_remapped(cfg))
|
|
|
- free_remapped_irq(irq);
|
|
|
+ free_remapped_irq(irq);
|
|
|
+
|
|
|
raw_spin_lock_irqsave(&vector_lock, flags);
|
|
|
__clear_irq_vector(irq, cfg);
|
|
|
raw_spin_unlock_irqrestore(&vector_lock, flags);
|