patch-2.1.60 linux/drivers/net/3c509.c

Next file: linux/drivers/net/8390.c
Previous file: linux/drivers/net/3c507.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.59/linux/drivers/net/3c509.c linux/drivers/net/3c509.c
@@ -418,7 +418,6 @@
 	outw(SetStatusEnb | 0x00, ioaddr + EL3_CMD);
 
 	if (request_irq(dev->irq, &el3_interrupt, 0, "3c509", dev)) {
-		irq2dev_map[dev->irq] = NULL;
 		return -EAGAIN;
 	}
 
@@ -868,7 +867,6 @@
 			kfree_s(dev->priv,sizeof(struct el3_private));
 			dev->priv = NULL;
 			free_irq(dev->irq, NULL);
-			irq2dev_map[dev->irq] = NULL;
 			release_region(dev->base_addr, EL3_IO_EXTENT);
 			unregister_netdev(dev);
 		}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov