From patchwork Sat May 15 22:13:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 12260015 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,URIBL_BLOCKED,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 20A4BC433ED for ; Sat, 15 May 2021 22:14:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E7DFA610E6 for ; Sat, 15 May 2021 22:14:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235216AbhEOWPu (ORCPT ); Sat, 15 May 2021 18:15:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:46742 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235192AbhEOWPp (ORCPT ); Sat, 15 May 2021 18:15:45 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5F22461377; Sat, 15 May 2021 22:14:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1621116871; bh=YCqwXaC8nyUzzLzY3riJfAk2+jTyFVH0x32PItprsTI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cHtaPaIWlXp4VXbhiksOSAh0v8hAjp1ExsTzvwZqj0LkAVcFzVCOSxGQUnxy6rqGk F1Ip4k59p3bL7yIMHDy7rlMTWFDVl/Kcq4eAxmm7jssypfNVMY5jEx5VbDojtXwTYg ohVBB0Q3Zh+MK/EhO53doqGBxFaomoaaPeeZgebAdxI1ZFdsZ9HdBCkZHEJIHMsYz8 r1OM+iW1nCPjr6GEXyxIIIwNOeozHTwq8cnOltI+s3GcaN9Vtfpe3MS/zRuGb1jAgS +Tm/ngM4JCnqU44S9ENzjgLG5OxJ0940tTbcF4YDNA8LgQvCtBa7Hd4p32dE4+QP49 HJwTGSqy54zxg== From: Arnd Bergmann To: netdev@vger.kernel.org Cc: Arnd Bergmann , Paul Gortmaker , "Maciej W. Rozycki" , "David S. Miller" , Jakub Kicinski , Doug Berger , Florian Fainelli , Sam Creasey , Geert Uytterhoeven , Finn Thain , Christophe JAILLET , Andrew Lunn , Alexei Starovoitov , Eric Dumazet , Andrii Nakryiko , Bartosz Golaszewski , linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com Subject: [RFC 01/13] [net-next] bcmgenet: remove call to netdev_boot_setup_check Date: Sun, 16 May 2021 00:13:08 +0200 Message-Id: <20210515221320.1255291-2-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210515221320.1255291-1-arnd@kernel.org> References: <20210515221320.1255291-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 X-Patchwork-State: RFC From: Arnd Bergmann The driver has never used the netdev->{irq,base_addr,mem_start} members, so this call is completely unnecessary. Signed-off-by: Arnd Bergmann Acked-by: Florian Fainelli --- 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 fcca023f22e5..b52910f141dc 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;