diff options
author | Stephen Hemminger <stephen@networkplumber.org> | 2017-12-12 19:30:29 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-13 21:47:00 +0100 |
commit | c009cb842fcc0f84536a9d2692e6f063af5ac5c6 (patch) | |
tree | b5acf6da6febd98b3b301608f9db27b7c96d8254 /drivers | |
parent | net: phy: meson-gxl: make function meson_gxl_read_status static (diff) | |
download | linux-c009cb842fcc0f84536a9d2692e6f063af5ac5c6.tar.xz linux-c009cb842fcc0f84536a9d2692e6f063af5ac5c6.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/marvell/skge.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/marvell/skge.c b/drivers/net/ethernet/marvell/skge.c index 6e423f098a60..31efc47c847e 100644 --- a/drivers/net/ethernet/marvell/skge.c +++ b/drivers/net/ethernet/marvell/skge.c @@ -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); |