]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
net: stmmac: remove unnecessary "stmmac: wakeup enable" print
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Fri, 15 Aug 2025 11:32:05 +0000 (12:32 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 19 Aug 2025 01:10:11 +0000 (18:10 -0700)
Printing "stmmac: wakeup enable" to the kernel log isn't useful - it
doesn't identify the adapter, and is effectively nothing more than a
debugging print. This information can be discovered by looking at
/sys/device.../power/wakeup as the device_set_wakeup_enable() call
updates this sysfs file.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1umsfF-008vKc-Kt@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c

index cd2fb92ac84cc2926876f3f2348fb51d7214cddb..58542b72cc0152cf1afacee2896365c5b85df500 100644 (file)
@@ -816,7 +816,6 @@ static int stmmac_set_wol(struct net_device *dev, struct ethtool_wolinfo *wol)
        }
 
        if (wol->wolopts) {
-               pr_info("stmmac: wakeup enable\n");
                device_set_wakeup_enable(priv->device, 1);
                /* Avoid unbalanced enable_irq_wake calls */
                if (priv->wol_irq_disabled)