From patchwork Tue Aug 3 11:40:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 490906 Delivered-To: patch@linaro.org Received: by 2002:a05:6638:396:0:0:0:0 with SMTP id y22csp563923jap; Tue, 3 Aug 2021 04:41:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5lZYnXTq3GTMHgqqGhX/4SME1N7zxGyaQi9RAmEBOhf5x04SVKGqoXNrqHQNDJ0gsZP14 X-Received: by 2002:a50:9350:: with SMTP id n16mr24545746eda.176.1627990894625; Tue, 03 Aug 2021 04:41:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627990894; cv=none; d=google.com; s=arc-20160816; b=qRqwlmPcrDy1LOJgsbaQnuO+TBh0NTTXOMzRv38GQ4xn6n1CPY43dR6O2hUAVTbRR5 HHYzRwHQ4b3ntSyafZPMtyHNd3knYO8Qi6pQUI9nm01s657m90xukViLQx2GEW2uDhO9 g6EAH5pegv6Vy702Gdh4jqrJKCHwdinoqxMD/csiUjn0LgG4FEVOBuGNGEM3o/RuP7Dg 5QL/N3vSU8S2UCXhX2KfzSu85n8KYnxyK5nYoUXhGuQohttKdWR8RDNlVLNhKRh3FRB/ Dip8dKHkF5zLKjQV+kXJywx10nktDAOW7SKxJrXfqMqe+dUDYyLHh+d3pkPvyyQ8+JW+ GyZQ== 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=KluLgtTqSCRCFHPXckha8+4fw4MJ3EpMoTxHUifow2M=; b=uH3nHfiMEi3cz/oDe3hsrLhFvoG2FOFo8RjiRYuiyLLVQ68slv1c0Uvnfnoj5sSdJb bvKDMvmdnh8+xEkxwhAVNoL5c5Oz24WQ6hG2/JuBZnvJhLO7z7z4MwwI2kdJbZ0ndlS4 qBFkQttdOHw14Stzm6W2qdoeEIPK+mY8Okhy7YyIRBJrzxh+DTvgEYB4tAbpaa8YalHD lIXotsYGdyg3Ft0+CQdKShrpK1961HrBiuNJmyPe2pErnvzg87dSqoW9TYIkErC62AWh kotW3m/coAHLz08+yRQOLI7RvdoSiYgMkez32BOGWexFnAUJPl9Sl5V+Y1dn6+1EkGGK IGDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=juxqMW4w; 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 w9si1031721ejy.113.2021.08.03.04.41.34; Tue, 03 Aug 2021 04:41:34 -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=juxqMW4w; 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 S235931AbhHCLlk (ORCPT + 8 others); Tue, 3 Aug 2021 07:41:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:33150 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235841AbhHCLle (ORCPT ); Tue, 3 Aug 2021 07:41:34 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C68EC60C3F; Tue, 3 Aug 2021 11:41:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627990883; bh=UBD3M8WBN//4ZqeP9fpBl1bUHvzXVR18YdJMOcPKNHo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=juxqMW4wvOL8vTVr/hGjxmMHCZ/Nt89iHzIpozWdhomNLykGIvxQHHokzTdBY94A/ GpITDziG9lev35oqR/PJE0bxoHkS6h3YQFSe2M6vCPVqeYZlX9aG2ZOOCkegvtufHl ii+ZmcU0KZo3d1AhfsIEEQa3x4ssrZ66wopXtZ9XlZmaZoPwFUdBA3/vqrGTw15kG0 QzbPe32+nQy//kRqk/utDa0C3dHXjN+rQlry5MFKZdJQTZkCDVX4SJ/ze4Yaw8cu/q uKtbilqm4saKePyhV7xJU6JrG/GpRRQ7rWTglgkdsypwMl494A6JkuG2pj6/ziFRSU MAR5vpukcUyFg== 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 04/14] [net-next] 3c509: stop calling netdev_boot_setup_check Date: Tue, 3 Aug 2021 13:40:41 +0200 Message-Id: <20210803114051.2112986-5-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 From: Arnd Bergmann This driver never uses the information returned by netdev_boot_setup_check, and is not called by the boot-time probing from driver/net/Space.c, so just remove these stale references. Signed-off-by: Arnd Bergmann --- drivers/net/ethernet/3com/3c509.c | 3 --- 1 file changed, 3 deletions(-) -- 2.29.2 diff --git a/drivers/net/ethernet/3com/3c509.c b/drivers/net/ethernet/3com/3c509.c index df6927f66771..87c906e744fb 100644 --- a/drivers/net/ethernet/3com/3c509.c +++ b/drivers/net/ethernet/3com/3c509.c @@ -302,7 +302,6 @@ static int el3_isa_match(struct device *pdev, unsigned int ndev) return -ENOMEM; SET_NETDEV_DEV(dev, pdev); - netdev_boot_setup_check(dev); if (!request_region(ioaddr, EL3_IO_EXTENT, "3c509-isa")) { free_netdev(dev); @@ -421,7 +420,6 @@ static int el3_pnp_probe(struct pnp_dev *pdev, const struct pnp_device_id *id) return -ENOMEM; } SET_NETDEV_DEV(dev, &pdev->dev); - netdev_boot_setup_check(dev); el3_dev_fill(dev, phys_addr, ioaddr, irq, if_port, EL3_PNP); pnp_set_drvdata(pdev, dev); @@ -590,7 +588,6 @@ static int el3_eisa_probe(struct device *device) } SET_NETDEV_DEV(dev, device); - netdev_boot_setup_check(dev); el3_dev_fill(dev, phys_addr, ioaddr, irq, if_port, EL3_EISA); eisa_set_drvdata (edev, dev);