net: proc: change proc_net_remove to remove_proc_entry
[linux-2.6-microblaze.git] / net / ipv6 / anycast.c
index 5a8c009..5a80f15 100644 (file)
@@ -517,7 +517,7 @@ int __net_init ac6_proc_init(struct net *net)
 
 void ac6_proc_exit(struct net *net)
 {
-       proc_net_remove(net, "anycast6");
+       remove_proc_entry("anycast6", net->proc_net);
 }
 #endif