patch-2.1.22 linux/drivers/net/ppp.c
Next file: linux/drivers/net/scc.c
Previous file: linux/drivers/net/pi2.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Sun Jan 19 15:47:25 1997
- Orig file:
v2.1.21/linux/drivers/net/ppp.c
- Orig date:
Wed Jan 15 19:45:41 1997
diff -u --recursive --new-file v2.1.21/linux/drivers/net/ppp.c linux/drivers/net/ppp.c
@@ -388,8 +388,6 @@
static int
ppp_init_dev (struct device *dev)
{
- int indx;
-
dev->hard_header_len = PPP_HARD_HDR_LEN;
/* device INFO */
@@ -3354,6 +3352,8 @@
return (struct compressor *) 0;
}
+#ifdef CONFIG_MODULES
+
static int ppp_register_compressor (struct compressor *cp)
{
struct compressor_link *new;
@@ -3405,6 +3405,8 @@
}
restore_flags(flags);
}
+
+#endif
/*************************************************************
* Module support routines
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov