patch-1.3.39 linux/drivers/net/depca.c

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

diff -u --recursive --new-file v1.3.38/linux/drivers/net/depca.c linux/drivers/net/depca.c
@@ -1837,9 +1837,6 @@
 void
 cleanup_module(void)
 {
-  if (MOD_IN_USE) {
-    printk("%s: device busy, remove delayed\n",thisDepca.name);
-  } else {
     release_region(thisDepca.base_addr, DEPCA_TOTAL_SIZE);
     if (thisDepca.priv) {
       kfree_s(thisDepca.priv, sizeof(struct depca_private));
@@ -1847,7 +1844,6 @@
     }
 
     unregister_netdev(&thisDepca);
-  }
 }
 #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