patch-2.1.130 linux/net/socket.c

Next file: linux/scripts/Configure
Previous file: linux/net/ipv4/ip_masq.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.129/linux/net/socket.c linux/net/socket.c
@@ -55,17 +55,9 @@
  */
 
 #include <linux/config.h>
-#include <linux/signal.h>
-#include <linux/errno.h>
-#include <linux/sched.h>
 #include <linux/mm.h>
-#include <linux/smp.h>
 #include <linux/smp_lock.h>
-#include <linux/kernel.h>
-#include <linux/major.h>
-#include <linux/stat.h>
 #include <linux/socket.h>
-#include <linux/fcntl.h>
 #include <linux/file.h>
 #include <linux/net.h>
 #include <linux/interrupt.h>
@@ -80,17 +72,14 @@
 #include <linux/kmod.h>
 #endif
 
-#include <asm/system.h>
 #include <asm/uaccess.h>
 
 #include <linux/inet.h>
 #include <net/ip.h>
-#include <net/protocol.h>
+#include <net/sock.h>
 #include <net/rarp.h>
 #include <net/tcp.h>
 #include <net/udp.h>
-#include <linux/skbuff.h>
-#include <net/sock.h>
 #include <net/scm.h>
 
 static int sock_no_open(struct inode *irrelevant, struct file *dontcare);

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