}
static void mlxsw_sp_vport_bridge_leave(struct mlxsw_sp_port *mlxsw_sp_vport,
- struct net_device *br_dev,
bool flush_fdb);
static void mlxsw_sp_port_lag_leave(struct mlxsw_sp_port *mlxsw_sp_port,
continue;
br_dev = mlxsw_sp_vport_br_get(mlxsw_sp_vport);
- mlxsw_sp_vport_bridge_leave(mlxsw_sp_vport, br_dev, false);
+ mlxsw_sp_vport_bridge_leave(mlxsw_sp_vport, false);
}
if (mlxsw_sp_port->bridged) {
struct net_device *br_dev;
br_dev = mlxsw_sp_vport_br_get(mlxsw_sp_vport);
- mlxsw_sp_vport_bridge_leave(mlxsw_sp_vport, br_dev, true);
+ mlxsw_sp_vport_bridge_leave(mlxsw_sp_vport, true);
}
mlxsw_sp_vport->dev = mlxsw_sp_port->dev;
}
static void mlxsw_sp_vport_bridge_leave(struct mlxsw_sp_port *mlxsw_sp_vport,
- struct net_device *br_dev,
bool flush_fdb)
{
u16 vid = mlxsw_sp_vport_vid_get(mlxsw_sp_vport);
*/
if (!mlxsw_sp_vport)
return 0;
- mlxsw_sp_vport_bridge_leave(mlxsw_sp_vport, upper_dev,
- true);
+ mlxsw_sp_vport_bridge_leave(mlxsw_sp_vport, true);
}
}