commit | cbeb321a64af5437fbde249605b191ff0fdfa21c | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@sunset.davemloft.net> | Thu Dec 22 12:58:55 2005 -0800 |
committer | David S. Miller <davem@sunset.davemloft.net> | Tue Jan 03 13:11:17 2006 -0800 |
tree | 15a0c109583ee1aeee00bae7086324be03c63f48 | |
parent | f34fbb971368c20f757f8758833a534590b16518 [diff] [blame] |
[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>
diff --git a/net/socket.c b/net/socket.c index 98be7ef..f40957a 100644 --- a/net/socket.c +++ b/net/socket.c
@@ -2063,6 +2063,8 @@ #ifdef CONFIG_NETFILTER netfilter_init(); #endif + + return 0; } core_initcall(sock_init); /* early initcall */