Revert "net/mlx5e: Add a check for the return value from mlx5_port_set_eth_ptys"
This reverts commit babb23917f
.
This commit is contained in:
parent
91e81d11cd
commit
eb36756b64
1 changed files with 1 additions and 6 deletions
|
@ -1155,12 +1155,7 @@ int mlx5e_ethtool_set_link_ksettings(struct mlx5e_priv *priv,
|
||||||
if (!an_changes && link_modes == eproto.admin)
|
if (!an_changes && link_modes == eproto.admin)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
err = mlx5_port_set_eth_ptys(mdev, an_disable, link_modes, ext);
|
mlx5_port_set_eth_ptys(mdev, an_disable, link_modes, ext);
|
||||||
if (err) {
|
|
||||||
netdev_err(priv->netdev, "%s: failed to set ptys reg: %d\n", __func__, err);
|
|
||||||
goto out;
|
|
||||||
}
|
|
||||||
|
|
||||||
mlx5_toggle_port_link(mdev);
|
mlx5_toggle_port_link(mdev);
|
||||||
|
|
||||||
out:
|
out:
|
||||||
|
|
Loading…
Reference in a new issue