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: 439452 Delivered-To: patch@linaro.org Received: by 2002:a02:b78d:0:0:0:0:0 with SMTP id f13csp1437324jam; Sat, 15 May 2021 15:14:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxE6rZlj9xOGz7cXbS1Sfxsx16zvmB97aQNmqFtNtxAgQDrrfqxKajyOAYhP/Lzm8pvUFsH X-Received: by 2002:a6b:d918:: with SMTP id r24mr39295843ioc.25.1621116891444; Sat, 15 May 2021 15:14:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621116891; cv=none; d=google.com; s=arc-20160816; b=R/UtF0wCxc5K/wCtjWQZLw8AaIioQOvaHk+PAhMD+QRqVXBCX+bBhxWpbbTrzSfXwG V9dtSgIScz+xGjULB1N7TBptikSTLEuz0qAlZASXOu6MXc4j7uqAyMd0qfe/2TTiWKUk 4qoLxYWn2Ll539amUKVRlM9tF+ks47nv68ypfHKfa3Mw6lZ/ieyB/dSL1wajedJO1LpH DA2GKCT90uKBvZMrkvDDmryfmTO4KEskljSRl0CZsMZJupBNgHj8b9b4/qKh+cSeRsNB fi0WVO7HILBHSTVTHT5mC2+ER2I2663Sf6H3qiUCF+/bQXS7m5gYHjoGzsGnwJT47Aak QJ8g== 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=IjhkhaeIl0ZxcW/fRCG4kI04IcU1rctCZb/su6S3afg=; b=juXnBcN6paet+VFcEbjyrLdckI0L5pgKnzZnRM5DIFoFrT6oWXtVNcY9MGQMETmMi3 FuJndXXTchrRdEkAGz22+KG/SXwB+ZzHiiP9pj4ozs6Ciz/75461M+pGOUpytD3gWgWc uJLieDydn2K6cGilFHm6QkP1sqeJI1nzIfxqfbLDllWiL1Us/7JpChtr1tedIiLV0oEq aJ0JddFQH6ga18pv9NZjJweqAX9sjRK9w9A9whj86MYujvueocFat6DqXMOASa4uX268 aTwVRsIsFGbyaevolRM2ad9RaORXNkzJZ1ZZxi4iYnjI3UHQykM7GxTcxTGBO+zirFJC oBUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cHtaPaIW; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n6si13185172jal.41.2021.05.15.15.14.50; Sat, 15 May 2021 15:14:51 -0700 (PDT) Received-SPF: pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cHtaPaIW; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235216AbhEOWPu (ORCPT + 8 others); 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 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 --- drivers/net/ethernet/broadcom/genet/bcmgenet.c | 2 -- 1 file changed, 2 deletions(-) -- 2.29.2 Acked-by: Florian Fainelli 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;