[patch] 2.3.99-pre2-3: remove duplicate ppp initialisation

From: Tim Waugh (twaugh@redhat.com)
Date: Fri Mar 17 2000 - 06:04:59 EST


Here is a patch to stop this from happening with CONFIG_PPP=y:

...
PPP generic driver version 2.4.1
PPP generic driver version 2.4.1
...

Since ppp_generic.c has module_init(ppp_init), presumably it doesn't need
to be called from setup.c any more.

Tim.
*/

Index: linux/drivers/net/setup.c
diff -u linux/drivers/net/setup.c:1.1.1.17 linux/drivers/net/setup.c:1.2
--- linux/drivers/net/setup.c:1.1.1.17 Tue Mar 14 11:35:32 2000
+++ linux/drivers/net/setup.c Fri Mar 17 11:02:46 2000
@@ -9,7 +9,6 @@
 #include <linux/netlink.h>
 
 extern int mkiss_init_ctrl_dev(void);
-extern int ppp_init(void);
 extern int slip_init_ctrl_dev(void);
 extern int strip_init_ctrl_dev(void);
 extern int x25_asy_init_ctrl_dev(void);
@@ -166,9 +165,6 @@
 #endif
 #if defined(CONFIG_STRIP)
         strip_init_ctrl_dev();
-#endif
-#if defined(CONFIG_PPP)
- ppp_init();
 #endif
 }
 

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:22 EST