mlxsw: spectrum: Do not return an error in mlxsw_sp_port_module_unmap()
authorIdo Schimmel <idosch@nvidia.com>
Wed, 15 Sep 2021 10:13:10 +0000 (13:13 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Sep 2021 15:17:15 +0000 (16:17 +0100)
commit196bff2927a753b7472b2c48f93bed2c17f93a47
tree29d5a8a7330117ff55d4e0a8ef378606ae02a524
parent06277ca23868d3e1ce9d09650f2cf14abc6b69be
mlxsw: spectrum: Do not return an error in mlxsw_sp_port_module_unmap()

The return value is never checked. Allows us to simplify a later patch.

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