patch-2.1.18 linux/net/socket.c

Next file: linux/CREDITS
Previous file: linux/net/rose/rose_dev.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.17/linux/net/socket.c linux/net/socket.c
@@ -94,10 +94,6 @@
 #include <net/scm.h>
 
 
-#if defined(CONFIG_MODULES) && defined(CONFIG_NET)
-extern void export_net_symbols(void);
-#endif
-
 static long long sock_lseek(struct inode *inode, struct file *file,
 			    long long offset, int whence);
 static long sock_read(struct inode *inode, struct file *file,
@@ -1512,14 +1508,6 @@
 	 */
 
 	proto_init();
-
-	/*
-	 *	Export networking symbols to the world.
-	 */
-
-#if defined(CONFIG_MODULES) && defined(CONFIG_NET)
-	export_net_symbols();
-#endif
 }
 
 int socket_get_info(char *buffer, char **start, off_t offset, int length)


FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov