summaryrefslogtreecommitdiffstats
path: root/net/ipv6/proc.c
diff options
context:
space:
mode:
authorDaniel Lezcano <dlezcano@fr.ibm.com>2008-07-30 12:12:31 +0200
committerDavid S. Miller <davem@davemloft.net>2008-07-30 12:27:52 +0200
commit17ef51fce03758736e9051c4360eca237dd0aaeb (patch)
treedb3991bf741952e5ba516ee19e18e5ce5fd6f0cd /net/ipv6/proc.c
parenttcp: MD5: Use MIB counter instead of warning for MD5 mismatch. (diff)
downloadlinux-17ef51fce03758736e9051c4360eca237dd0aaeb.tar.xz
linux-17ef51fce03758736e9051c4360eca237dd0aaeb.zip
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 <dlezcano@fr.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--net/ipv6/proc.c1
1 files changed, 0 insertions, 1 deletions
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);