add prelocal table to manipulate locally destinated traffic
[project/netifd.git] / vlan.c
diff --git a/vlan.c b/vlan.c
index 7424aa8..354e12f 100644 (file)
--- a/vlan.c
+++ b/vlan.c
@@ -139,9 +139,6 @@ static struct device *get_vlan_device(struct device *dev, int id, bool create)
        vldev->dep.cb = vlan_dev_cb;
        device_add_user(&vldev->dep, dev);
 
-       vldev->set_state(dev, false);
-       system_vlan_del(dev);
-
        return &vldev->dev;
 }