]> git.baikalelectronics.ru Git - kernel.git/commit
net-next: mediatek: remove superfluous free_irq() call
authorJohn Crispin <john@phrozen.org>
Mon, 4 Jul 2016 13:37:10 +0000 (15:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jul 2016 06:55:56 +0000 (23:55 -0700)
commit7f569b21c4931f358beceac86cd963385c2fde58
tree4515d6bbfc7159715e1f40d0a45658d03bbc6f4d
parent3e7eecf51a15ef3fa60ebf2621592b38541a4a4c
net-next: mediatek: remove superfluous free_irq() call

Commit 120bde184d7d ("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>
drivers/net/ethernet/mediatek/mtk_eth_soc.c