]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_ethtool: Remove redundant variable
authorIdo Schimmel <idosch@nvidia.com>
Wed, 26 Jan 2022 10:30:29 +0000 (12:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Jan 2022 11:15:41 +0000 (11:15 +0000)
commit5c759fe24cdb777d8c5caf5cf3d5fa99dd70bc19
tree0d92d205419fb92643362c6787326a32fbac049a
parentab14f1802cfb2d7ca120bbf48e3ba6712314ffc3
mlxsw: spectrum_ethtool: Remove redundant variable

Remove the 'err' variable and simply return.

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