patch-2.0.37 linux/drivers/net/at1700.c

Next file: linux/drivers/net/de4x5.c
Previous file: linux/drivers/net/Space.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.36/linux/drivers/net/at1700.c linux/drivers/net/at1700.c
@@ -595,7 +595,6 @@
 /* The inverse routine to net_open(). */
 static int net_close(struct device *dev)
 {
-	struct net_local *lp = (struct net_local *)dev->priv;
 	int ioaddr = dev->base_addr;
 
 	dev->tbusy = 1;
@@ -605,14 +604,6 @@
 	outb(0xda, ioaddr + CONFIG_0);
 
 	/* No statistic counters on the chip to update. */
-
-#if 0
-	/* Disable the IRQ on boards where it is feasible. */
-	if (lp->jumpered) {
-		outb(0x00, ioaddr + IOCONFIG1);
-		free_irq(dev->irq, dev);
-	}
-#endif
 
 	/* Power-down the chip.  Green, green, green! */
 	outb(0x00, ioaddr + CONFIG_1);

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