nterface-ip: remove superfluous iface check in interface_ip_set_enabled()
[project/netifd.git] / vlan.c
diff --git a/vlan.c b/vlan.c
index 7f8697b..067f624 100644 (file)
--- a/vlan.c
+++ b/vlan.c
@@ -96,7 +96,7 @@ static void vlan_dev_cb(struct device_user *dep, enum device_event ev)
 
 static struct device *get_vlan_device(struct device *dev, int id, bool create)
 {
 
 static struct device *get_vlan_device(struct device *dev, int id, bool create)
 {
-       static const struct device_type vlan_type = {
+       static struct device_type vlan_type = {
                .name = "VLAN",
                .config_params = &device_attr_list,
                .free = free_vlan_if,
                .name = "VLAN",
                .config_params = &device_attr_list,
                .free = free_vlan_if,