skge: remove redundunt free_irq under spinlock
The code to handle multi-port SKGE boards was freeing IRQ twice. The first one was under lock and might sleep. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3b3397e203
commit
c009cb842f
|
@ -4081,7 +4081,6 @@ static void skge_remove(struct pci_dev *pdev)
|
|||
if (hw->ports > 1) {
|
||||
skge_write32(hw, B0_IMSK, 0);
|
||||
skge_read32(hw, B0_IMSK);
|
||||
free_irq(pdev->irq, hw);
|
||||
}
|
||||
spin_unlock_irq(&hw->hw_lock);
|
||||
|
||||
|
|
Loading…
Reference in a new issue