]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit870a84edb561ab267191f195a996cc47b0013a5c
tree29d5a8a7330117ff55d4e0a8ef378606ae02a524
parent94510807fdff5822a44a8c33cceba944a61e22f7
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