From patchwork Fri Feb 2 09:33:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Russell King (Oracle)" X-Patchwork-Id: 13542504 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DC330C4828E for ; Fri, 2 Feb 2024 09:33:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=BdZkzY5AbOMrHTViz8uwMCzWkTOKOaBai8vhwjPQw3I=; b=kUa4vPVMz82ds/ RknLPnYJxGL2wAVpQ4y2GqoMp/7zSPwNgcgXOhFvK+V1jj+uUh4ZVB8lXJpPZReTN4ZjUWnrzL3Xt EvFaBw6HWkKozR8/eQeL77nOkyegpyQnwACnlnwyyFJUvOLY+5cUFnEXDq5POSkK9CDHVY89xW3iP cl3i/aEwj3697Rd7rS100AsOAEow04VUaeRO0oix+oRp/HnEIaVBSZbRV4JbkoxpG9CdAnP6w/ioc O7qCTYBj1ksQfH5pnc5DX4JW2tkTwkLAxP0AK83RyQX6AATp2Qel1nNZ8jQWmcUqJ8Y6GYrmyN0TY ojyeyGsvzUQpUHdF5xGA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVpvc-0000000Axsw-3h0X; Fri, 02 Feb 2024 09:33:44 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVpva-0000000AxqX-1LXe for linux-arm-kernel@lists.infradead.org; Fri, 02 Feb 2024 09:33:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:Content-Type:MIME-Version: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=H88J5TUA4kjzKrM8edavWO7CzzGR5hnVTyCFR8jMm6M=; b=o9aTOCOtnDglVLzDJl90mCnXEN icDDEyJnZAKHU6F6Z0n7hw86O6lijLfhhn0Der1BSHRrKuL1iag/1Rcvb2iAelSvuSy18iq4wysbt 7J2+B1pjzUtSvlAU9LFrLIGCyiA7GNdpAQylKRxYWzx5iiYeXxBSvYx8rwbyMnS3A5GgBrT+6APE7 u0uXNPrqs4RmJGLmUp4Zdfkgjz4Ln8JZTMVsZvWlwL8pRAvd8l/lmITm4OT09Eyf6UmhIoXSRp7m9 VF7nPSWlXvhS/SllW+bgXY4iiOuuUda6p40zpe0PMdeu75LPf8SWwvUs9mZbOQDyvRGx17oap5uXR pMHpZEAg==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:37008) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rVpvN-0005hy-1I; Fri, 02 Feb 2024 09:33:29 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1rVpvE-0008D5-T5; Fri, 02 Feb 2024 09:33:20 +0000 Date: Fri, 2 Feb 2024 09:33:20 +0000 From: "Russell King (Oracle)" To: Andrew Lunn , Heiner Kallweit Cc: Alexandre Torgue , bcm-kernel-feedback-list@broadcom.com, Byungho An , Clark Wang , "David S. Miller" , Doug Berger , Eric Dumazet , Florian Fainelli , Jakub Kicinski , Jose Abreu , Justin Chen , linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Maxime Coquelin , netdev@vger.kernel.org, NXP Linux Team , Paolo Abeni , Shenwei Wang , Vladimir Oltean , Wei Fang Subject: [PATCH net-next 0/6] net: eee network driver cleanups Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240202_013342_390758_A052CA87 X-CRM114-Status: UNSURE ( 9.27 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, Since commit d1420bb99515 ("net: phy: improve generic EEE ethtool functions") changed phylib to set eee->eee_active and eee->eee_enabled, overriding anything that drivers have set these to prior to calling phy_ethtool_get_eee(). Therefore, drivers setting these members becomes redundant, since phylib overwrites the values they set. This series finishes off Heiner's work in the referenced commit by removing these redundant writes in various drivers and any associated code or structure members that become unnecessary. drivers/net/dsa/b53/b53_common.c | 6 ------ drivers/net/ethernet/broadcom/asp2/bcmasp_ethtool.c | 4 ---- drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c | 5 +++-- drivers/net/ethernet/broadcom/genet/bcmgenet.c | 8 +++----- drivers/net/ethernet/broadcom/genet/bcmmii.c | 5 +++-- drivers/net/ethernet/freescale/fec_main.c | 3 --- drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h | 1 - drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c | 2 -- drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c | 1 - drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c | 2 -- 10 files changed, 9 insertions(+), 28 deletions(-)