Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1651015lqb; Sun, 26 May 2024 10:27:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUJKVqHI9OnOOALXeQhafsZu7weOqJQzwDyvQ3fDKFXz0NJnk5X/52jOF9SUwgHquLVCWXomcOILTRfOBmKihtaVxMVj05smTVoigXvtQ== X-Google-Smtp-Source: AGHT+IEtmdcg1KFmhsUzk+xSov8mvwM99FUINfG8H4prQZZNtlRNTOubUSQdRzCwo2p8TbwAE7va X-Received: by 2002:ae9:f405:0:b0:792:ddb9:ea5b with SMTP id af79cd13be357-794ab0835damr640852985a.19.1716744425191; Sun, 26 May 2024 10:27:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716744425; cv=pass; d=google.com; s=arc-20160816; b=remg4tiZDQk6Q9XGkcE1uxfr/SiOKJpSTs09RqiZUosOc9VKNIO1IWtdi6GlOINKz/ FIBs8PnydnHlUbHgzLQMXEvABr3ZRaicdwNSUWO7s7gOxoGDRO2CIZDTsisXYcWaGHzb yfiNTH6E8ATO5SJZIriw2PkZD7L8eRWvevGYNdibrY3DlRG5+XyL8lrZZx6GUXYIY90F GcDnic/+idSVR0v3mfuwAoOdRkJs1yRdBQmpz19uUBV3qvcvDi5LiK0gSJhe8BqJ/RDC tuxhJ4So01wCRd01qvghoPzMsz5OuwfptMPHlI1oGpcz2s3Exg5SZAW2y2TxAQH4cRG9 4XGA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=fJwBIr6v15ZehR1HVxgnQmaZc/OqYRDjeLZFE00kofo=; fh=ijR0STXLsM6m40tuymOHeNDHBkTyQmawRhtWgBV3KBM=; b=a+H9RIYL5ne+hssg66WWZAxgvI/KB0gy2a8oYzPm8Nqt65tFck21d1dMeIAu4fKMgJ C+Lf44lfNcQ4MUvZFMLb9Nix3H+HoMl52D/yfc/v2889HPNqUjxoLh0UA1uGk0mHc6Ul LY2wVSECeD5mbjE89r66xLXOvLSuBiF46sVvnARNT/Fy06wEpjDq/JhqLcLBQyWetTpr DQUeXl4CT+lYGtMy4HlUGqE6lHIiEBorOV1NVlFfyrpPMnuZI3XJfh5COHCZdtEpUGap YY4jQZGL26KmltXHrvLosKhIHWrqo/0xsvQmxwwi9bfRR6xTonrVOtG8OZG6TnBmQ3g/ wEEw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=I6HJSLrt; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-189797-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189797-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-794abd6296bsi662348685a.783.2024.05.26.10.27.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 May 2024 10:27:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-189797-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=I6HJSLrt; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-189797-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189797-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id E75AB1C20B3D for ; Sun, 26 May 2024 17:27:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 593DB53E28; Sun, 26 May 2024 17:26:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="I6HJSLrt" Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 317E552F8C; Sun, 26 May 2024 17:26:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716744361; cv=none; b=gMBE9znbpKO26GoKw8o9ruTOIudZXU/pFeyOq297tYor1pa0RbkGK71uByjIL6awzhF1CiPdETkenULRrL8dm2N4dfhCn1Mi2+iymSwmM8cX4XI2binBm3QEKO/kh+Gmor4yNDlteemaN/xPlKILdxzFfyoydl2LCVN1mWGNZ2w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716744361; c=relaxed/simple; bh=378XXa0Bo17EZwBI247WORitI2varrhaPXmIosZX9/c=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=cJjcQ+p37fe6bxdcTaPrkZq+Ar//84i+TuN2iefjahzYITtISzlXPW0+QUnscoNAjZcQzW7cSjw/cWgo3rQb6Zfv0r8rRgF2hN8LXrHZi/xHjnozuE+efOcffmNPNRvQG/eltBuedwsVM3+GP28JsJyG9Ro4o2wWGGsHOsSvqxU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=I6HJSLrt; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=fJwBIr6v15ZehR1HVxgnQmaZc/OqYRDjeLZFE00kofo=; b=I6HJSLrtnC2+Cerk EOJeft+PhiMcnBQrE62Py10+x07kcHWG/LMvVLmzN3hixktplNJks/62wXF3aQhP6Ko99D7/GOmY9 AAs/D1sPU51JJMLrrivU4/9CVu+My0FWqKiJHbKw+3sLtPngbQerjjnGgqUdoaj8GzItgL2fHhyVl D1+K6ixoms60DUh48gUICTObq2oIBG0DBAPIOCPqbqbxeE6veARpuXRCH3dr9M68H9R3L+7318NPT t+pYCzbtZCGuNnj1KOgXakWlRrxDZ79c3ylJU431/Q6pabFDljSKbNd+CB/ZtoRPcDuGzk94zoEKW dMGyXrwmHLk2Yogh+w==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1sBHcz-002aYf-0V; Sun, 26 May 2024 17:25:49 +0000 From: linux@treblig.org To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: ionut@badula.org, tariqt@nvidia.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH 4/4] net: ethernet: 8390: ne2k-pci: remove unused struct 'ne2k_pci_card' Date: Sun, 26 May 2024 18:24:28 +0100 Message-ID: <20240526172428.134726-5-linux@treblig.org> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240526172428.134726-1-linux@treblig.org> References: <20240526172428.134726-1-linux@treblig.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Dr. David Alan Gilbert" 'ne2k_pci_card' is unused since 2.3.99-pre3 in March 2000. Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/net/ethernet/8390/ne2k-pci.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/drivers/net/ethernet/8390/ne2k-pci.c b/drivers/net/ethernet/8390/ne2k-pci.c index 65f56a98c0a0..1a34da07c0db 100644 --- a/drivers/net/ethernet/8390/ne2k-pci.c +++ b/drivers/net/ethernet/8390/ne2k-pci.c @@ -186,17 +186,6 @@ static void ne2k_pci_block_output(struct net_device *dev, const int count, static const struct ethtool_ops ne2k_pci_ethtool_ops; - -/* There is no room in the standard 8390 structure for extra info we need, - * so we build a meta/outer-wrapper structure.. - */ -struct ne2k_pci_card { - struct net_device *dev; - struct pci_dev *pci_dev; -}; - - - /* NEx000-clone boards have a Station Address (SA) PROM (SAPROM) in the packet * buffer memory space. By-the-spec NE2000 clones have 0x57,0x57 in bytes * 0x0e,0x0f of the SAPROM, while other supposed NE2000 clones must be -- 2.45.1