]> err.no Git - linux-2.6/commitdiff
[IPV6]: remove duplicate call to proc_net_remove
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Tue, 30 Oct 2007 22:39:33 +0000 (15:39 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 31 Oct 2007 04:16:24 +0000 (21:16 -0700)
The file /proc/net/if_inet6 is removed twice.
First time in:
        inet6_exit
             ->addrconf_cleanup
And followed a few lines after by:
        inet6_exit
             -> if6_proc_exit

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c

index 348bd8d061125f61932c74d683e6a3f8d69c28e6..1bd8d818f8e9ec1b28b3ae74eae6d78975d03020 100644 (file)
@@ -4288,8 +4288,4 @@ void __exit addrconf_cleanup(void)
        del_timer(&addr_chk_timer);
 
        rtnl_unlock();
-
-#ifdef CONFIG_PROC_FS
-       proc_net_remove(&init_net, "if_inet6");
-#endif
 }