diff options
author | Andi Kleen <ak@suse.de> | 2005-12-22 12:43:42 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-01-03 13:11:14 -0800 |
commit | 77d76ea310b50a9c8ff15bd290fcb4ed4961adf2 (patch) | |
tree | 7d6e8b2426d4b3debe5ddf838ab2a2ef13f1b106 /include/linux/socket.h | |
parent | 7708610b1bff4a0ba8a73733d3c7c4bda9f94b21 (diff) | |
download | linux-77d76ea310b50a9c8ff15bd290fcb4ed4961adf2.tar.gz linux-77d76ea310b50a9c8ff15bd290fcb4ed4961adf2.tar.bz2 linux-77d76ea310b50a9c8ff15bd290fcb4ed4961adf2.zip |
[NET]: Small cleanup to socket initialization
sock_init can be done as a core_initcall instead of calling
it directly in init/main.c
Also I removed an out of date #ifdef.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/socket.h')
-rw-r--r-- | include/linux/socket.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/socket.h b/include/linux/socket.h index 1739c2d5b95b..9f4019156fd8 100644 --- a/include/linux/socket.h +++ b/include/linux/socket.h @@ -27,7 +27,6 @@ struct __kernel_sockaddr_storage { #include <linux/compiler.h> /* __user */ extern int sysctl_somaxconn; -extern void sock_init(void); #ifdef CONFIG_PROC_FS struct seq_file; extern void socket_seq_show(struct seq_file *seq); |