]> git.karo-electronics.de Git - linux-beck.git/commit
net: ethernet: mediatek: remove redundant free_irq for devm_request_irq allocated irq
authorSean Wang <sean.wang@mediatek.com>
Thu, 1 Sep 2016 02:47:30 +0000 (10:47 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Sep 2016 03:53:47 +0000 (20:53 -0700)
commitd3bd1ce4db8e843dce421e2f8f123e5251a9c7d3
tree5c6974963cbc1247ab0f81f042ee8e5ce631aff3
parent1b43079906367d4d6e1ad00f04fff525a32e26c4
net: ethernet: mediatek: remove redundant free_irq for devm_request_irq allocated irq

these irqs are not used for shared irq and disabled during ethernet stops.
irq requested by devm_request_irq is safe to be freed automatically on
driver detach.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Acked-by: John Crispin <john@phrozen.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c