diff options
author | John Crispin <john@phrozen.org> | 2016-07-04 15:37:10 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-04 23:55:56 -0700 |
commit | 019d0c99364a818eb08f52d7ee4b75ea6df07d09 (patch) | |
tree | 4515d6bbfc7159715e1f40d0a45658d03bbc6f4d /drivers | |
parent | d9329bc2226f1c9445bfb61b49f6a1801597f3ee (diff) | |
download | linux-019d0c99364a818eb08f52d7ee4b75ea6df07d09.tar.bz2 |
net-next: mediatek: remove superfluous free_irq() call
Commit 8067302973a1 ("net-next: mediatek: add support for IRQ grouping")
adds handling for irq 1 and 2 to the uninit function but did not remove
irq 0 which is not used since irq grouping was introduced. Fix this by
removing the superfluous call to free_irq().
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: John Crispin <john@phrozen.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/mediatek/mtk_eth_soc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/drivers/net/ethernet/mediatek/mtk_eth_soc.c index fbab9b27519b..682797ea5e11 100644 --- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c +++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c @@ -1492,7 +1492,6 @@ static void mtk_uninit(struct net_device *dev) phy_disconnect(mac->phy_dev); mtk_mdio_cleanup(eth); mtk_irq_disable(eth, ~0); - free_irq(eth->irq[0], dev); free_irq(eth->irq[1], dev); free_irq(eth->irq[2], dev); } |