patch-2.4.0-test11 linux/drivers/net/lne390.c
Next file: linux/drivers/net/ne.c
Previous file: linux/drivers/net/lance.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Tue Nov 7 10:59:42 2000
- Orig file:
v2.4.0-test10/linux/drivers/net/lne390.c
- Orig date:
Tue Oct 31 12:42:26 2000
diff -u --recursive --new-file v2.4.0-test10/linux/drivers/net/lne390.c linux/drivers/net/lne390.c
@@ -394,9 +394,6 @@
{
int this_dev, found = 0;
- if (load_8390_module("lne390.c"))
- return -ENOSYS;
-
for (this_dev = 0; this_dev < MAX_LNE_CARDS; this_dev++) {
struct net_device *dev = &dev_lne[this_dev];
dev->irq = irq[this_dev];
@@ -410,7 +407,6 @@
if (found != 0) { /* Got at least one. */
return 0;
}
- unload_8390_module();
return -ENXIO;
}
found++;
@@ -434,7 +430,6 @@
kfree(priv);
}
}
- unload_8390_module();
}
#endif /* MODULE */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)