mirror of https://gitee.com/openkylin/linux.git
net: qcom/emac: Demote MTU change print to debug
Changing the MTU can be a frequent operation and it is already clear when (or not) a MTU change is successful, demote prints to debug prints. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Acked-by: Timur Tabi <timur@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
12299132b3
commit
5409386679
|
@ -213,9 +213,9 @@ static int emac_change_mtu(struct net_device *netdev, int new_mtu)
|
||||||
{
|
{
|
||||||
struct emac_adapter *adpt = netdev_priv(netdev);
|
struct emac_adapter *adpt = netdev_priv(netdev);
|
||||||
|
|
||||||
netif_info(adpt, hw, adpt->netdev,
|
netif_dbg(adpt, hw, adpt->netdev,
|
||||||
"changing MTU from %d to %d\n", netdev->mtu,
|
"changing MTU from %d to %d\n", netdev->mtu,
|
||||||
new_mtu);
|
new_mtu);
|
||||||
netdev->mtu = new_mtu;
|
netdev->mtu = new_mtu;
|
||||||
|
|
||||||
if (netif_running(netdev))
|
if (netif_running(netdev))
|
||||||
|
|
Loading…
Reference in New Issue