From: Daniel Lezcano Date: Wed, 30 Jul 2008 10:12:31 +0000 (-0700) Subject: ipv6: Fix useless proc net sockstat6 removal X-Git-Tag: v2.6.27-rc2~119^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=17ef51fce03758736e9051c4360eca237dd0aaeb;p=linux-2.6-omap-h63xx.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 f82f6074cf8..0179b66864f 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);