aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/af_inet.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/af_inet.c')
-rw-r--r--net/ipv4/af_inet.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c
index 36ff6dc769c6..dd919d84285f 100644
--- a/net/ipv4/af_inet.c
+++ b/net/ipv4/af_inet.c
@@ -1399,13 +1399,7 @@ static __net_initdata struct pernet_operations ipv4_mib_ops = {
1399 1399
1400static int __init init_ipv4_mibs(void) 1400static int __init init_ipv4_mibs(void)
1401{ 1401{
1402 if (register_pernet_subsys(&ipv4_mib_ops)) 1402 return register_pernet_subsys(&ipv4_mib_ops);
1403 goto err_net;
1404
1405 return 0;
1406
1407err_net:
1408 return -ENOMEM;
1409} 1403}
1410 1404
1411static int ipv4_proc_init(void); 1405static int ipv4_proc_init(void);