[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>
This commit is contained in:
@ -2063,6 +2063,8 @@ static int __init sock_init(void)
|
||||
#ifdef CONFIG_NETFILTER
|
||||
netfilter_init();
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
core_initcall(sock_init); /* early initcall */
|
||||
|
Reference in New Issue
Block a user