aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/8021q/vlan.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/8021q/vlan.c b/net/8021q/vlan.c
index 2a739adaa92b..b934159a6f07 100644
--- a/net/8021q/vlan.c
+++ b/net/8021q/vlan.c
@@ -410,10 +410,8 @@ static int vlan_device_event(struct notifier_block *unused, unsigned long event,
410 int i, flgs; 410 int i, flgs;
411 struct net_device *vlandev; 411 struct net_device *vlandev;
412 412
413 if (is_vlan_dev(dev)) { 413 if (is_vlan_dev(dev))
414 __vlan_device_event(dev, event); 414 __vlan_device_event(dev, event);
415 goto out;
416 }
417 415
418 grp = __vlan_find_group(dev); 416 grp = __vlan_find_group(dev);
419 if (!grp) 417 if (!grp)