diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2005-12-22 15:58:55 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-01-03 16:11:17 -0500 |
commit | cbeb321a64af5437fbde249605b191ff0fdfa21c (patch) | |
tree | 15a0c109583ee1aeee00bae7086324be03c63f48 /net/socket.c | |
parent | f34fbb971368c20f757f8758833a534590b16518 (diff) |
[NET]: Fix sock_init() return value.
It needs to return zero now that it is an initcall.
Also, net/nonet.c no longer needs a dummy sock_init().
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/socket.c')
-rw-r--r-- | net/socket.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/socket.c b/net/socket.c index 98be7ef3c086..f40957adc7c7 100644 --- a/net/socket.c +++ b/net/socket.c | |||
@@ -2063,6 +2063,8 @@ static int __init sock_init(void) | |||
2063 | #ifdef CONFIG_NETFILTER | 2063 | #ifdef CONFIG_NETFILTER |
2064 | netfilter_init(); | 2064 | netfilter_init(); |
2065 | #endif | 2065 | #endif |
2066 | |||
2067 | return 0; | ||
2066 | } | 2068 | } |
2067 | 2069 | ||
2068 | core_initcall(sock_init); /* early initcall */ | 2070 | core_initcall(sock_init); /* early initcall */ |