]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
net: sgi: ioc3-eth: Remove leftover free_irq()
authorThomas Bogendoerfer <tbogendoerfer@suse.de>
Tue, 4 Feb 2020 13:58:20 +0000 (14:58 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Feb 2020 12:53:54 +0000 (13:53 +0100)
Commit 0ce5ebd24d25 ("mfd: ioc3: Add driver for SGI IOC3 chip") moved
request_irq() from ioc3_open into probe function, but forgot to remove
free_irq() from ioc3_close.

Fixes: 0ce5ebd24d25 ("mfd: ioc3: Add driver for SGI IOC3 chip")
Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sgi/ioc3-eth.c

index e61eb891c0f7faa5106d493a18ae440bc9919a13..db6b2988e632084ef24d14a296dca3cd5e8c7544 100644 (file)
@@ -823,7 +823,6 @@ static int ioc3_close(struct net_device *dev)
        netif_stop_queue(dev);
 
        ioc3_stop(ip);
-       free_irq(dev->irq, dev);
 
        ioc3_free_rx_bufs(ip);
        ioc3_clean_tx_ring(ip);