Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1313708rwb; Sun, 6 Nov 2022 23:30:03 -0800 (PST) X-Google-Smtp-Source: AMsMyM4xaOFC82bKj+lrT3JS2JIztdYnwOShujnl9O1V+3KXkN+6xunwcnxnKnGcyqBZWMBuy5Og X-Received: by 2002:aa7:d650:0:b0:462:d945:3801 with SMTP id v16-20020aa7d650000000b00462d9453801mr48778081edr.117.1667806203635; Sun, 06 Nov 2022 23:30:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667806203; cv=none; d=google.com; s=arc-20160816; b=d27ZMCOEkn6dCiTjrobsxxaSWMH8Qm7L+CVeDMAHsoAgmj0/q/Rn3gwaqpyB7rRaxi X/bdLJFXvXwRvSxkCzyhv3NwWt4TAHjLntWtGsSWve3jHvBq/aR2qmxmm34PbdMX6j/8 xkEo3rmTz+khvvon+tURHGQpcZFNc4+/LWq/b0Qc39aCIepLiiOuYoCtOhqcVVnjBROK kEL1EwTfx13/pah6VnRgJezXiBo7QJo0u6CZXJMS5DYXUytaiMXaskznVME/nB6Q9U6t Oq2TyYuMlVlVb5MdsBCgbHIJEzSU3f5sRUJ6pdCIq7oFZ8ga4HqAkdZBLSXl2V4LWCly Ei2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=eQv2rNyQvkrY66Nzv8Jdo+hkOFsitdPU68Gx0vJTY+8=; b=ADL0Dhux7HmRghEzUKoBTrquCQlcbl+dsFGrFrxBjhbRhnoKjYAQ5lALtr/EGVzgtT oqDOm5s++9BR8ycS4dsE3pDdI7nisGKedd/5qekLyUsCO6J6hAzj1MQFszltWDK/6cnw j9CUQVSVwBlQd/DQ9wwMDNWEGX4cO2eCsnE5J/UcpqzTkGXIv+nXNtdN2pzjRFaE1vAP p7SoOCyiew0+YfonvdX2kiSADfGUBEWfivcFXgxGj7ZSogwGhLX3Nd6BsV7fsq/jJkJF h4aUv+NWP7AiZm25MjZfZrkJYj0ualAdlE6PN0eZiJhKOCweB7F+bnML0N6Rt2EHbbyR UKPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=cvimVq+k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sc4-20020a1709078a0400b0077cfdda438csi9168383ejc.35.2022.11.06.23.29.40; Sun, 06 Nov 2022 23:30:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=cvimVq+k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231384AbiKGHQT (ORCPT + 95 others); Mon, 7 Nov 2022 02:16:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229526AbiKGHP1 (ORCPT ); Mon, 7 Nov 2022 02:15:27 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54C0013D3A; Sun, 6 Nov 2022 23:15:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1667805317; x=1699341317; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=b04ZHSDXDlEVTBVuOPBDEtMi6B7HphF2Zh1z2L5q7Es=; b=cvimVq+klBs9lbC6h9QeOwCzwBd5UpFQTsQoTycfZj+/zjjMkLdoPrJ0 jgV3E+wR0z5rsYiWnZ/6eyfjkB4b2CBX6qjcJKhV17anx3pCcoKVr2XBa zaYNE5BjKeFqCy66H3P0l/Lcs5tdvM/tOwPYYVmky+jl8dUN67Iq//3hx jNq6v1KsEPjOKa5H8eXPpQKsmm+q7s83hc2dcEzD+SzJEfFfTfkTtzJKV 1ciaV+1178579FLp0Z6tN/+54gD3AmbAOVXfxomqUm0Vu+YZvk6v0Kk/J lEUF5FFkVOsecxrgvDm9ECw7MZiADASZLNULOuYpg5NM/Yy4fveBALdeR Q==; X-IronPort-AV: E=Sophos;i="5.96,143,1665471600"; d="scan'208";a="182205961" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 07 Nov 2022 00:15:16 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Mon, 7 Nov 2022 00:15:07 -0700 Received: from localhost.localdomain (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Mon, 7 Nov 2022 00:15:04 -0700 From: Raju Lakkaraju To: CC: , , , , , , , , , , Subject: [PATCH net-next V7 1/2] net: lan743x: Remove unused argument in lan743x_common_regs( ) Date: Mon, 7 Nov 2022 12:44:49 +0530 Message-ID: <20221107071450.669700-2-Raju.Lakkaraju@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221107071450.669700-1-Raju.Lakkaraju@microchip.com> References: <20221107071450.669700-1-Raju.Lakkaraju@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove the unused argument (i.e. struct ethtool_regs *regs) in lan743x_common_regs( ) function arguments. Signed-off-by: Raju Lakkaraju --- Change List: =========== V6 -> V7: - Revert the memset change in lan743x_common_regs( ) function drivers/net/ethernet/microchip/lan743x_ethtool.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/microchip/lan743x_ethtool.c b/drivers/net/ethernet/microchip/lan743x_ethtool.c index 88f9484cc2a7..aa1d79a9a1f2 100644 --- a/drivers/net/ethernet/microchip/lan743x_ethtool.c +++ b/drivers/net/ethernet/microchip/lan743x_ethtool.c @@ -1190,9 +1190,7 @@ static int lan743x_ethtool_set_wol(struct net_device *netdev, } #endif /* CONFIG_PM */ -static void lan743x_common_regs(struct net_device *dev, - struct ethtool_regs *regs, void *p) - +static void lan743x_common_regs(struct net_device *dev, void *p) { struct lan743x_adapter *adapter = netdev_priv(dev); u32 *rb = p; @@ -1230,7 +1228,7 @@ static void lan743x_get_regs(struct net_device *dev, { regs->version = LAN743X_ETH_REG_VERSION; - lan743x_common_regs(dev, regs, p); + lan743x_common_regs(dev, p); } static void lan743x_get_pauseparam(struct net_device *dev, -- 2.25.1