diff options
author | Daniel Lezcano <dlezcano@fr.ibm.com> | 2008-07-30 06:12:31 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-30 06:27:52 -0400 |
commit | 17ef51fce03758736e9051c4360eca237dd0aaeb (patch) | |
tree | db3991bf741952e5ba516ee19e18e5ce5fd6f0cd /net/ipv6 | |
parent | 785957d3e8c6fb37b18bf671923a76dbd8240025 (diff) |
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 'net/ipv6')
-rw-r--r-- | net/ipv6/proc.c | 1 |
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: | |||
286 | 286 | ||
287 | void ipv6_misc_proc_exit(void) | 287 | void ipv6_misc_proc_exit(void) |
288 | { | 288 | { |
289 | proc_net_remove(&init_net, "sockstat6"); | ||
290 | proc_net_remove(&init_net, "dev_snmp6"); | 289 | proc_net_remove(&init_net, "dev_snmp6"); |
291 | proc_net_remove(&init_net, "snmp6"); | 290 | proc_net_remove(&init_net, "snmp6"); |
292 | unregister_pernet_subsys(&ipv6_proc_ops); | 291 | unregister_pernet_subsys(&ipv6_proc_ops); |