From patchwork Sat May 15 22:13:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 439455 Delivered-To: patch@linaro.org Received: by 2002:a02:b78d:0:0:0:0:0 with SMTP id f13csp1437375jam; Sat, 15 May 2021 15:14:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwgdb75Bk8gtdqOmD6xwivFrzoIBy6BNSWZ7XzIjKbngqJJsXk+EhmdUF/Zyz0SRpZzWoA3 X-Received: by 2002:a6b:6c0b:: with SMTP id a11mr2160962ioh.37.1621116898171; Sat, 15 May 2021 15:14:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621116898; cv=none; d=google.com; s=arc-20160816; b=NKLmBkxvD531Md02p1eeTsOI07woF5aygjU2EncUT8+hWutV/PohB4Gf4LqepLLC+7 ldi8dKObhkKgRY1miJZrawLal9N29/oL7h7BupzPcXmRyAJMo+UrTCfFoqRDA/BjWP3f iC6a/R3cr6arzsYMpsmKs9AjHB048cGo/aWi2SwdWiFmWMsBZsppjb2ZBA/fqnG7zpPF uOkaVA3+MSaxAE6pOi+/XaFAStAVme1fmX4aDJxDiQ7hPNKmQzN7I09Y4/VHwuKMITi+ S1rUsT8G4DhD6IBRrU1/1TumdB8KHdsGnaSO2hY0v1S7dxo6oJgaSrdP+/8Chnw6u9u4 wcRw== 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=RBKiRwzwT8GllP7JUV9pp4F5b5ZIDeHoEASPtr9yC4Q=; b=WQaxlcRRLdXO4WR8U89Ov4hzm3rFaEG/6MdDSjhMeBGp+HBZO4ITOYEyEUWOUbnlFN 2gqohHHuAgGD9e8M6GxGIg/WnRPmdgFxhXdNKLS1P1nrCc4162Ci0mitfUU457/+hhU7 PowQ/rSJfySE+IgOAmlghLEdmsPUGQYOCdXftmSAq55jJdHZkfhJFACW6UNoJi8HPOtb WIMcp1DwdXkQwGpifQYjUnaTpbdbAO6bzDWxTBDtXWwisZs0dgGKqNd/FF2pg7JVLTKt EXLGjOLx0/JLN5p1+8FFkPweHvmli5zDnCqJIw2zKWklVIKxrWlDMxNmeqXz9x5AV1VK 9KJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=R8Ms79k8; 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.57; Sat, 15 May 2021 15:14:58 -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=R8Ms79k8; 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 S235291AbhEOWQH (ORCPT + 8 others); Sat, 15 May 2021 18:16:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:46958 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235228AbhEOWP4 (ORCPT ); Sat, 15 May 2021 18:15:56 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8A34E613AF; Sat, 15 May 2021 22:14:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1621116882; bh=Kz0rXaPw+8EGWxmJZy58W+olppvkU9ELa9aUqRHAj7I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=R8Ms79k8xUPJcduIo+ovu3p16C2b3tJYMWNbE1FJdlWLaElIfc0mnasjm/yztLnBB AWuY4UQDjQJ+k3se3ABB0F1Vmv+n79QIDvl0RL1BU9dZKj7gdcLFb1Tv9wYt1AV/Iw u/PtYEaLDH43rFWiJRwjbJ1G1xA/zmYdraZphNUp7qZl8DMVl7EmsFgJejZe3g3j7C 3oMD4t7u7hiiybRtolazUnKpfBbx/vRtUUvt1j+Z+1JcT5wMUNu8BALA3ytM1ALDQ3 aauR2wU+Pi+GRi7dN/pEpL7mZ0ZhW2tQKDZgZxS8BDJmzFfuvqwRnojyA+aALQ2bdR vhmvLpFRvBc0Q== 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 04/13] [net-next] 3c509: stop calling netdev_boot_setup_check Date: Sun, 16 May 2021 00:13:11 +0200 Message-Id: <20210515221320.1255291-5-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 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 96cc5fc36eb5..7fd2d322f2bb 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); @@ -588,7 +586,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);