Skip to content

Commit

Permalink
ipv6: Fix useless proc net sockstat6 removal
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Daniel Lezcano authored and David S. Miller committed Jul 30, 2008
1 parent 785957d commit 17ef51f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/ipv6/proc.c
Original file line number Diff line number Diff line change
@@ -286,7 +286,6 @@ int __init ipv6_misc_proc_init(void)

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);

0 comments on commit 17ef51f

Please sign in to comment.