Skip to content

Commit 8bab807

Browse files
pmachataNipaLocal
authored andcommitted
vxlan: Drop 'changelink' parameter from vxlan_dev_configure()
vxlan_dev_configure() only has a single caller that passes false for the changelink parameter. Drop the parameter and inline the sole value. Signed-off-by: Petr Machata <[email protected]> Reviewed-by: Ido Schimmel <[email protected]> Signed-off-by: NipaLocal <nipa@local>
1 parent d9b9647 commit 8bab807

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/net/vxlan/vxlan_core.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3936,7 +3936,7 @@ static void vxlan_config_apply(struct net_device *dev,
39363936
}
39373937

39383938
static int vxlan_dev_configure(struct net *src_net, struct net_device *dev,
3939-
struct vxlan_config *conf, bool changelink,
3939+
struct vxlan_config *conf,
39403940
struct netlink_ext_ack *extack)
39413941
{
39423942
struct vxlan_dev *vxlan = netdev_priv(dev);
@@ -3947,7 +3947,7 @@ static int vxlan_dev_configure(struct net *src_net, struct net_device *dev,
39473947
if (ret)
39483948
return ret;
39493949

3950-
vxlan_config_apply(dev, conf, lowerdev, src_net, changelink);
3950+
vxlan_config_apply(dev, conf, lowerdev, src_net, false);
39513951

39523952
return 0;
39533953
}
@@ -3965,7 +3965,7 @@ static int __vxlan_dev_create(struct net *net, struct net_device *dev,
39653965
int err;
39663966

39673967
dst = &vxlan->default_dst;
3968-
err = vxlan_dev_configure(net, dev, conf, false, extack);
3968+
err = vxlan_dev_configure(net, dev, conf, extack);
39693969
if (err)
39703970
return err;
39713971

0 commit comments

Comments
 (0)