Commit 47980a20 authored by Ioana Ciornei's avatar Ioana Ciornei Committed by Greg Kroah-Hartman

staging: fsl-dpaa2/ethsw: remove debug message

Since ethtool will be loud enough if the .set_link_ksettings() callback
fails, remove the debug messages which do not add additional
information.
Reported-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarIoana Ciornei <ioana.ciornei@nxp.com>
Link: https://lore.kernel.org/r/1565700187-16048-5-git-send-email-ioana.ciornei@nxp.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 73866324
...@@ -91,8 +91,6 @@ ethsw_set_link_ksettings(struct net_device *netdev, ...@@ -91,8 +91,6 @@ ethsw_set_link_ksettings(struct net_device *netdev,
struct dpsw_link_cfg cfg = {0}; struct dpsw_link_cfg cfg = {0};
int err = 0; int err = 0;
netdev_dbg(netdev, "Setting link parameters...");
/* Due to a temporary MC limitation, the DPSW port must be down /* Due to a temporary MC limitation, the DPSW port must be down
* in order to be able to change link settings. Taking steps to let * in order to be able to change link settings. Taking steps to let
* the user know that. * the user know that.
...@@ -116,11 +114,6 @@ ethsw_set_link_ksettings(struct net_device *netdev, ...@@ -116,11 +114,6 @@ ethsw_set_link_ksettings(struct net_device *netdev,
port_priv->ethsw_data->dpsw_handle, port_priv->ethsw_data->dpsw_handle,
port_priv->idx, port_priv->idx,
&cfg); &cfg);
if (err)
/* ethtool will be loud enough if we return an error; no point
* in putting our own error message on the console by default
*/
netdev_dbg(netdev, "ERROR %d setting link cfg", err);
return err; return err;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment