patch-2.3.27 linux/drivers/net/slip.c
Next file: linux/drivers/net/starfire.c
Previous file: linux/drivers/net/slhc.c
Back to the patch index
Back to the overall index
- Lines: 31
- Date:
Tue Nov 9 08:20:12 1999
- Orig file:
v2.3.26/linux/drivers/net/slip.c
- Orig date:
Mon Oct 4 15:49:29 1999
diff -u --recursive --new-file v2.3.26/linux/drivers/net/slip.c linux/drivers/net/slip.c
@@ -1318,11 +1318,8 @@
/* VSV changes end */
/* Initialize SLIP control device -- register SLIP line discipline */
-#ifdef MODULE
-static int slip_init_ctrl_dev(void)
-#else /* !MODULE */
-int __init slip_init_ctrl_dev(struct net_device *dummy)
-#endif /* !MODULE */
+
+int __init slip_init_ctrl_dev(void)
{
int status;
@@ -1371,15 +1368,8 @@
}
-#ifdef MODULE
return status;
-#else
- /* Return "not found", so that dev_init() will unlink
- * the placeholder device entry for us.
- */
- return ENODEV;
-#endif
- }
+}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)