patch-2.4.0-test3 linux/drivers/atm/fore200e.c
Next file: linux/drivers/atm/horizon.c
Previous file: linux/drivers/atm/eni.h
Back to the patch index
Back to the overall index
- Lines: 31
- Date:
Thu Jul 6 21:37:24 2000
- Orig file:
v2.4.0-test2/linux/drivers/atm/fore200e.c
- Orig date:
Fri Jun 23 21:55:08 2000
diff -u --recursive --new-file v2.4.0-test2/linux/drivers/atm/fore200e.c linux/drivers/atm/fore200e.c
@@ -56,9 +56,7 @@
#include <asm/pgtable.h>
#endif
-#ifdef MODULE
#include <linux/module.h>
-#endif
#include "fore200e.h"
#include "suni.h"
@@ -2601,9 +2599,7 @@
printk(FORE200E "FORE Systems 200E-series driver - version " FORE200E_VERSION "\n");
-#if 0 /* XXX uncomment this to forbid module unloading */
MOD_INC_USE_COUNT;
-#endif
/* for each configured bus interface */
for (link = 0, bus = fore200e_bus; bus->model_name; bus++) {
@@ -2630,10 +2626,8 @@
}
}
-#if 0 /* XXX uncomment this to forbid module unloading */
if (link <= 0)
MOD_DEC_USE_COUNT;
-#endif
return link;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)