From patchwork Tue Aug 3 11:40:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 12416017 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B480BC4338F for ; Tue, 3 Aug 2021 11:41:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9BC5B60BD3 for ; Tue, 3 Aug 2021 11:41:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233638AbhHCLlZ (ORCPT ); Tue, 3 Aug 2021 07:41:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:32948 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235796AbhHCLlW (ORCPT ); Tue, 3 Aug 2021 07:41:22 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A9F1160525; Tue, 3 Aug 2021 11:41:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627990871; bh=dNtFKQr5I3nQ99ZaxUpU9GUopGCxuccgkNfu/oYKujo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WrL8JQ8S+FdSV4Aq6FtNqTLTYOYB3UWRvy3B8SLpkmJOJdOvTrTSjQQ1Dscf7EFc/ mAS0xrz1lj6xYxiHSZb8DFFK2hXVn9SZSVbRqDAo57UuNI4eUv6maqcs5bInO01Plk tHe3YqeNrtT5v1IKEPmmJANr1RsWBjWoG2Nc0tLz/QVepmZTE0yBAmWsjakYwbMLI6 ueXAsMky5PtSnYxrzjzO0oDUYnHgOYJHplpYDWVTKNkThRlzEhvuF1Ti10r6r6BdB1 0F+tUYatebVsgmNjcDokelbMIeGygYVhHxJCMc9Xvz+Qo2hOgrQDUU5YXXBo0TOV0l +4RwqSQhEyesQ== From: Arnd Bergmann To: netdev@vger.kernel.org Cc: Arnd Bergmann , "David S. Miller" , "Maciej W. Rozycki" , Alexei Starovoitov , Andrew Lunn , Andrii Nakryiko , Bartosz Golaszewski , Christophe JAILLET , Doug Berger , Eric Dumazet , Finn Thain , Florian Fainelli , Geert Uytterhoeven , Jakub Kicinski , Jessica Yu , Michael Schmitz , Paul Gortmaker , Sam Creasey , linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com Subject: [PATCH v2 01/14] [net-next] bcmgenet: remove call to netdev_boot_setup_check Date: Tue, 3 Aug 2021 13:40:38 +0200 Message-Id: <20210803114051.2112986-2-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210803114051.2112986-1-arnd@kernel.org> References: <20210803114051.2112986-1-arnd@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org From: Arnd Bergmann The driver has never used the netdev->{irq,base_addr,mem_start} members, so this call is completely unnecessary. Acked-by: Florian Fainelli Signed-off-by: Arnd Bergmann --- drivers/net/ethernet/broadcom/genet/bcmgenet.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ethernet/broadcom/genet/bcmgenet.c b/drivers/net/ethernet/broadcom/genet/bcmgenet.c index 63e2237e0cb4..8507198992df 100644 --- a/drivers/net/ethernet/broadcom/genet/bcmgenet.c +++ b/drivers/net/ethernet/broadcom/genet/bcmgenet.c @@ -3972,8 +3972,6 @@ static int bcmgenet_probe(struct platform_device *pdev) */ dev->needed_headroom += 64; - netdev_boot_setup_check(dev); - priv->dev = dev; priv->pdev = pdev;