net: qcom/emac: Demote MTU change print to debug
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 7 Nov 2019 22:35:37 +0000 (14:35 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Nov 2019 04:01:14 +0000 (20:01 -0800)
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>
drivers/net/ethernet/qualcomm/emac/emac.c

index c84ab052ef265a78cf08ee18215cf053b805b24d..98f92268cbaa1a04e70fa008cd2be016b7ae122c 100644 (file)
@@ -213,9 +213,9 @@ static int emac_change_mtu(struct net_device *netdev, int new_mtu)
 {
        struct emac_adapter *adpt = netdev_priv(netdev);
 
-       netif_info(adpt, hw, adpt->netdev,
-                  "changing MTU from %d to %d\n", netdev->mtu,
-                  new_mtu);
+       netif_dbg(adpt, hw, adpt->netdev,
+                 "changing MTU from %d to %d\n", netdev->mtu,
+                 new_mtu);
        netdev->mtu = new_mtu;
 
        if (netif_running(netdev))