diff options
Diffstat (limited to 'net/8021q/vlanproc.c')
-rw-r--r-- | net/8021q/vlanproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/8021q/vlanproc.c b/net/8021q/vlanproc.c index 4de77ea5fa37..dc526ec965e4 100644 --- a/net/8021q/vlanproc.c +++ b/net/8021q/vlanproc.c | |||
@@ -131,7 +131,7 @@ void vlan_proc_cleanup(struct net *net) | |||
131 | remove_proc_entry(name_conf, vn->proc_vlan_dir); | 131 | remove_proc_entry(name_conf, vn->proc_vlan_dir); |
132 | 132 | ||
133 | if (vn->proc_vlan_dir) | 133 | if (vn->proc_vlan_dir) |
134 | proc_net_remove(net, name_root); | 134 | remove_proc_entry(name_root, net->proc_net); |
135 | 135 | ||
136 | /* Dynamically added entries should be cleaned up as their vlan_device | 136 | /* Dynamically added entries should be cleaned up as their vlan_device |
137 | * is removed, so we should not have to take care of it here... | 137 | * is removed, so we should not have to take care of it here... |