patch-2.1.88 linux/drivers/net/hp-plus.c
Next file: linux/drivers/net/hp.c
Previous file: linux/drivers/net/ewrk3.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Thu Feb 19 14:58:40 1998
- Orig file:
v2.1.87/linux/drivers/net/hp-plus.c
- Orig date:
Sun Jan 4 10:55:08 1998
diff -u --recursive --new-file v2.1.87/linux/drivers/net/hp-plus.c linux/drivers/net/hp-plus.c
@@ -466,10 +466,10 @@
if (dev->priv != NULL) {
/* NB: hpp_close() handles free_irq */
int ioaddr = dev->base_addr - NIC_OFFSET;
+ unregister_netdev(dev);
kfree(dev->priv);
dev->priv = NULL;
release_region(ioaddr, HP_IO_EXTENT);
- unregister_netdev(dev);
}
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov