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>
This commit is contained in:
Ido Schimmel 2022-01-26 12:30:29 +02:00 • committed by David S. Miller
commit 5c759fe24c