s/remove_device_user/device_remove_user/g
[project/netifd.git] / vlan.c
diff --git a/vlan.c b/vlan.c
index 3de1121..1755777 100644 (file)
--- a/vlan.c
+++ b/vlan.c
@@ -18,7 +18,7 @@ static void free_vlan_if(struct device *iface)
        struct vlan_device *vldev;
 
        vldev = container_of(iface, struct vlan_device, dev);
-       remove_device_user(&vldev->dep);
+       device_remove_user(&vldev->dep);
        cleanup_device(&vldev->dev);
        free(vldev);
 }
@@ -105,7 +105,7 @@ static struct device *get_vlan_device(struct device *dev, int id, bool create)
        return &vldev->dev;
 }
 
-static inline char *split_vlan(char *s)
+static char *split_vlan(char *s)
 {
        s = strchr(s, '.');
        if (!s)