mlxsw: spectrum_switchdev: Do not set 'multicast_enabled' twice
authorAmit Cohen <amcohen@nvidia.com>
Tue, 21 Jun 2022 08:33:35 +0000 (11:33 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Jun 2022 11:56:57 +0000 (12:56 +0100)
commit6e66d2e4b3a20655262569ec394f79a2eee87028
tree50a99ceda1e35dfd51c60033d2f87821012f2c71
parent21c795f8494a152dbff86c50fe216e610a77bb0f
mlxsw: spectrum_switchdev: Do not set 'multicast_enabled' twice

The function mlxsw_sp_port_mc_disabled_set() sets
'bridge_device->multicast_enabled' twice. Remove the unnecessary setting.

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c