mlxsw: spectrum_qdisc: Drop an always-true condition
authorPetr Machata <petrm@nvidia.com>
Tue, 20 Apr 2021 14:53:41 +0000 (16:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Apr 2021 23:43:13 +0000 (16:43 -0700)
commit549f2aae84ddf574dda36b0bf7e3b4c0872c6675
tree629efe42f8dec7eb3ea1f8a422d813c679a079d5
parent290fe2c595fbf9b9099a93528d6f85d3d7d21fa4
mlxsw: spectrum_qdisc: Drop an always-true condition

The function mlxsw_sp_qdisc_compare() is invoked a couple lines above this
check, which will bounce any requests where this condition does not hold.
Therefore drop it.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c