]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/ipv4/ping.c
net: proc: change proc_net_remove to remove_proc_entry
[mirror_ubuntu-artful-kernel.git] / net / ipv4 / ping.c
index fc62a13b5eefb31c8586fcc92114f9a9caeb0751..55c4ee1bba062276ff2a21055dfa6d0a01a71513 100644 (file)
@@ -897,7 +897,7 @@ static int ping_proc_register(struct net *net)
 
 static void ping_proc_unregister(struct net *net)
 {
-       proc_net_remove(net, "icmp");
+       remove_proc_entry("icmp", net->proc_net);
 }