X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=vlan.c;h=1755777235c0f2aca2daa51aa45004e3e042b00b;hb=a9030987750fefa9152539edeb44d5dd0a22cbcf;hp=3de1121ba7fb48379785b0947a224725f38d9511;hpb=5d1fff7af6f77c9bf0d46572c7af563cd9fc55b3;p=project%2Fnetifd.git diff --git a/vlan.c b/vlan.c index 3de1121..1755777 100644 --- 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)