summaryrefslogtreecommitdiffstats
path: root/net/wireless/wext-proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/wireless/wext-proc.c')
-rw-r--r--net/wireless/wext-proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/wext-proc.c b/net/wireless/wext-proc.c
index 00fc5bb3fb63..e98a01c1034f 100644
--- a/net/wireless/wext-proc.c
+++ b/net/wireless/wext-proc.c
@@ -152,5 +152,5 @@ int __net_init wext_proc_init(struct net *net)
void __net_exit wext_proc_exit(struct net *net)
{
- proc_net_remove(net, "wireless");
+ remove_proc_entry("wireless", net->proc_net);
}