patch-1.3.39 linux/drivers/net/dummy.c
Next file: linux/drivers/net/e2100.c
Previous file: linux/drivers/net/depca.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Thu Nov 9 08:24:06 1995
- Orig file:
v1.3.38/linux/drivers/net/dummy.c
- Orig date:
Wed Nov 8 07:11:32 1995
diff -u --recursive --new-file v1.3.38/linux/drivers/net/dummy.c linux/drivers/net/dummy.c
@@ -164,13 +164,8 @@
void cleanup_module(void)
{
- if (MOD_IN_USE)
- printk("dummy: device busy, remove delayed\n");
- else
- {
- unregister_netdev(&dev_dummy);
- kfree(dev_dummy.priv);
- dev_dummy.priv = NULL;
- }
+ unregister_netdev(&dev_dummy);
+ kfree(dev_dummy.priv);
+ dev_dummy.priv = NULL;
}
#endif /* MODULE */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this