From: Daniel Lezcano Date: Wed, 30 Jul 2008 10:12:31 +0000 (-0700) Subject: ipv6: Fix useless proc net sockstat6 removal X-Git-Tag: Ubuntu-5.2.0-15.16~33769^2~1 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=17ef51fce03758736e9051c4360eca237dd0aaeb;p=mirror_ubuntu-eoan-kernel.git ipv6: Fix useless proc net sockstat6 removal This call is no longer needed, sockstat6 is per namespace so it is removed at the namespace subsystem destruction. Signed-off-by: Daniel Lezcano Signed-off-by: David S. Miller --- diff --git a/net/ipv6/proc.c b/net/ipv6/proc.c index f82f6074cf85..0179b66864f1 100644 --- a/net/ipv6/proc.c +++ b/net/ipv6/proc.c @@ -286,7 +286,6 @@ proc_net_fail: void ipv6_misc_proc_exit(void) { - proc_net_remove(&init_net, "sockstat6"); proc_net_remove(&init_net, "dev_snmp6"); proc_net_remove(&init_net, "snmp6"); unregister_pernet_subsys(&ipv6_proc_ops);