Skip to contentSkip to conversation

move slip over to initcalls

PATCH Applied Christoph Hellwig 2 participants 2 messages May 7, 2003 – May 8, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 move slip over to initcalls

Time to get rid of a few entries in setup.c :)

drivers/net/setup.c +0 -4
@@ -9,7 +9,6 @@
 #include <linux/init.h>
 #include <linux/netlink.h>
 
-extern int slip_init_ctrl_dev(void);
 extern int x25_asy_init_ctrl_dev(void);
   
 extern int dmascc_init(void);
@@ -109,9 +108,6 @@
  
 static void __init network_ldisc_init(void)
 {
-#if defined(CONFIG_SLIP)
-	slip_init_ctrl_dev();
-#endif
 #if defined(CONFIG_X25_ASY)
 	x25_asy_init_ctrl_dev();
 #endif
drivers/net/slip.c +22 -37

105 lines not on this page · raw message

drivers/net/slip.h +0 -4
@@ -116,10 +116,6 @@
 #endif  
 };
 
-
-
 #define SLIP_MAGIC 0x5302
-
-extern int slip_init(struct net_device *dev);
 
 #endif	/* _LINUX_SLIP.H */
#1 lore raw

From: Christoph Hellwig <[email protected]>
Date: Wed, 7 May 2003 23:55:47 +0200

Time to get rid of a few entries in setup.c :)

Applied, thanks Christoph.