From patchwork Sun May 26 17:24:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dr. David Alan Gilbert" X-Patchwork-Id: 13674308 X-Patchwork-Delegate: kuba@kernel.org 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 6ADA050A7E; Sun, 26 May 2024 17:25:39 +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=1716744341; cv=none; b=Iz0RE1daUmjMC7Dp8knUjvENBiaUnKyT06PvULHkhOjg367oCyAyeYhXQaXBGw+jqDKjfhHaaBgMuMjyy1NNs+aASLPq+9/NkzU+d7WTUu9xyJEyzXQz+j6z4r3rTituZpDVjdicbfavqOLKyPBHaagoJjQ2JDNzupMj/8zELwM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716744341; c=relaxed/simple; bh=k7gJoCfRl8RPEKpIGPEV4121Uy8RfEYOc1Yk/42GW1Q=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=GQPI/BTAq4+wijnfGzihpvf6ZhW/luSZW3cv8qG5ozieLClUng921C7XEjEHdbzv20uBgukXXfIVkxZPA9snG4SB3N7k9wqE50qeFyDJ5ji8D0OqSUsbgVPXpc7ohvWw6jQ7fNv4KdLrL/vXCwKpBTMrpd8icVJAGFFsSgLSlPU= 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=Wk3SCEZv; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="Wk3SCEZv" 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=gsit2KxzLDyWo3HLztIyKkYctUypUcPbrdY0zyz5kOM=; b=Wk3SCEZvOIWaGKsO 0EFC9frQ7+W4nL7FpLwKCYum8qwxXZ2P2s1LFFf5Kwdob7Ztjkkwc096KZt1/PJqL1E5nnMEZJfQm os93yJPsZgLakaL7/xSmmPEIi9i+C35M8FAVJ3ZMBOQkm/xN+/GHUERv41OlDvkrpaUIWy3rVmrwq FrmIetQI//JadcZTyyt1SIVXzQ9ZyeKvp+XW5uUOpTPoN6sScvvNBQx5+eL+cubK7WVD73EkybcZT TrEPPh9C7l7g0PRAB+ciXKZwtfNw3bB52DIdQECpP8NoirIWxoJvvFaFScCm5xZGNF2l00i5t0zvY k9TnyZCgqttZjiQe/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 1sBHcX-002aYf-25; Sun, 26 May 2024 17:25:22 +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 1/4] net: ethernet: starfire: remove unused structs Date: Sun, 26 May 2024 18:24:25 +0100 Message-ID: <20240526172428.134726-2-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: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org From: "Dr. David Alan Gilbert" 'short_rx_done_desc' and 'basic_rx_done_desc' are unused since commit fdecea66687d (" [netdrvr starfire] Add GPL'd firmware, remove compat code"). Remove them. Signed-off-by: Dr. David Alan Gilbert --- drivers/net/ethernet/adaptec/starfire.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/net/ethernet/adaptec/starfire.c b/drivers/net/ethernet/adaptec/starfire.c index 857361c74f5d..e1b8794b14c9 100644 --- a/drivers/net/ethernet/adaptec/starfire.c +++ b/drivers/net/ethernet/adaptec/starfire.c @@ -441,14 +441,6 @@ enum rx_desc_bits { }; /* Completion queue entry. */ -struct short_rx_done_desc { - __le32 status; /* Low 16 bits is length. */ -}; -struct basic_rx_done_desc { - __le32 status; /* Low 16 bits is length. */ - __le16 vlanid; - __le16 status2; -}; struct csum_rx_done_desc { __le32 status; /* Low 16 bits is length. */ __le16 csum; /* Partial checksum */ From patchwork Sun May 26 17:24:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dr. David Alan Gilbert" X-Patchwork-Id: 13674309 X-Patchwork-Delegate: kuba@kernel.org 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 4F4AB53E16; Sun, 26 May 2024 17:25:42 +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=1716744343; cv=none; b=AHsnkFktQKFoc3al/lDxypeBBzdD244HnxLdAGqNkRZEVJzfdqSowDz5ILrpl5Irs1BmOYjDkoWzNn9xkMfG94TRtak7iXo/t93jBN2eNg7qlf/3alLDlhWTUANtuimPCbp8SWtwHSutSTpy0IoqQF9EnXd82uBMyjo1SlgHkPw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716744343; c=relaxed/simple; bh=pBPCZ6EsFhm3TSWJxG2KKXUgP+h+hHYq1uqn+cEpGUg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=HqU2O84B/k4CgTpOu/+OAdFyLC5cZfroY5MNzYUfqKp3ZY8BnKtfY8Ifes1OI9YhMErG6QCX+5LJrtH5V6c5iSck/VWa7qxW7GPdlsO1UK48+y1JKMiU0o634agtUp3XAINmT8SLhV9zVrjAGdbkxZgHp6+gGxByB02KLSwPVlQ= 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=qK0lVCNW; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="qK0lVCNW" 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=OzL+FqR94BdzBBlPMqzxqdPf2qKaPSodPf5IIdV4i5c=; b=qK0lVCNW8FCkSYvJ leSBvW13jeiyOLS2Ukp7m3jI1B//GC6QNca+9C+mkbj6k/fkYuenmdnzA/TaB5X5erVjlMGOkmTxO kwHdjJmNHLxwBawWbh0CEQPnWzBTHWIXB8SgODB1yHKBBNIwpuNTTcrbVmc0Bk690Da52AKrZFzRt 6yUfzI9JumIxzghp2UqXCTTcWFKcfdo5RfaStiR2Cb/s9hNd+ZjJZXYgcpsgWeLD9MYj9CbtjzGSv YfIdN4Qzm0GJtUHDlXBoYWvnxSwZMwwmhcRrK2PkzBmmRMYvpG37h27H1vPEldXSo/yOS0h0bZd/6 Z4h8cCxspXXLW4JPCw==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1sBHcc-002aYf-27; Sun, 26 May 2024 17:25:27 +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 2/4] net: ethernet: liquidio: remove unused structs Date: Sun, 26 May 2024 18:24:26 +0100 Message-ID: <20240526172428.134726-3-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: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org From: "Dr. David Alan Gilbert" 'niclist' and 'oct_link_status_resp' are unused since the original commit f21fb3ed364b ("Add support of Cavium Liquidio ethernet adapters"). Remove them. Signed-off-by: Dr. David Alan Gilbert --- drivers/net/ethernet/cavium/liquidio/lio_main.c | 6 ------ drivers/net/ethernet/cavium/liquidio/octeon_droq.c | 5 ----- 2 files changed, 11 deletions(-) diff --git a/drivers/net/ethernet/cavium/liquidio/lio_main.c b/drivers/net/ethernet/cavium/liquidio/lio_main.c index 34f02a8ec2ca..1d79f6eaa41f 100644 --- a/drivers/net/ethernet/cavium/liquidio/lio_main.c +++ b/drivers/net/ethernet/cavium/liquidio/lio_main.c @@ -92,12 +92,6 @@ static int octeon_console_debug_enabled(u32 console) /* time to wait for possible in-flight requests in milliseconds */ #define WAIT_INFLIGHT_REQUEST msecs_to_jiffies(1000) -struct oct_link_status_resp { - u64 rh; - struct oct_link_info link_info; - u64 status; -}; - struct oct_timestamp_resp { u64 rh; u64 timestamp; diff --git a/drivers/net/ethernet/cavium/liquidio/octeon_droq.c b/drivers/net/ethernet/cavium/liquidio/octeon_droq.c index 0d6ee30affb9..eef12fdd246d 100644 --- a/drivers/net/ethernet/cavium/liquidio/octeon_droq.c +++ b/drivers/net/ethernet/cavium/liquidio/octeon_droq.c @@ -30,11 +30,6 @@ #include "cn23xx_pf_device.h" #include "cn23xx_vf_device.h" -struct niclist { - struct list_head list; - void *ptr; -}; - struct __dispatch { struct list_head list; struct octeon_recv_info *rinfo; From patchwork Sun May 26 17:24:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dr. David Alan Gilbert" X-Patchwork-Id: 13674310 X-Patchwork-Delegate: kuba@kernel.org 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 03FFE54F96; Sun, 26 May 2024 17:25:44 +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=1716744346; cv=none; b=jv1QpxhBECJfDHela1GGkkqhRTRqeq/YTczt2plr77gAlHhk6rT8wa8wJSlYy4YtE9GGxwqIa32SdkTdX2rqMsNhWvjmIfG5BcV8veNkI43un6tz+FEtlGBTcpVi2Siikyc7Pba3V58n1mEoePLIql94KQpSzuAwrkuxsK6UdgM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716744346; c=relaxed/simple; bh=eWzHuG7A2dtXBOBODhzxQoEnvU87Oz4nAD+ahmMXaaY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=W7NYrThse4jBu5cJIn+IMA6o5XmRtJIoi6audZbSDZL/plWMtcXtV/FuTZjnLUM4tJTn5A4L0nxOkG3w1/anqOiOXSw14GzKKIGiUX2SNXKZFCsvVpu5KNBQOqhc9srnUDqqcnjYyqgZeFc2sZnD/Fgiy3WDK5kWAWC4hXQmYfg= 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=RtYdLwtt; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="RtYdLwtt" 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=MQ0kr12Y+48Q4e9VAShbfG29E9NVQKb0iwHkSFlfbVM=; b=RtYdLwttkNDpFq0U aEgK2zSQTaOmDTx82w9+y0t9nsKWRjdBwVfxLMChtQ1iv/a/gxWdZdxlZOPQyLAwAw5cfNjp+YRIb CvgbAzxRiUkyoJlxF3RIpl528BAv2BLhygXwYUl1F6g64EiHH3urzhBf113wmpfh6F+t4jZzcsg62 kmS45m7NMMDe4SaBNDdJZlb4wJXRUrqLJMKymhEQymWZHbL3IbJ4moCt1Sl3Xuj8NrbMv1Xb0wzz2 tOPxU8l+dIeqxm9yIUlM/xj31YtIjc2u8CkSrlOcCVl53f5/6WH4ASuq+QyW5/+WsXULS0NFLwS6J ypERJkTGwoQZ+PDEFA==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1sBHcl-002aYf-10; Sun, 26 May 2024 17:25:35 +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 3/4] net: ethernet: mlx4: remove unused struct 'mlx4_port_config' Date: Sun, 26 May 2024 18:24:27 +0100 Message-ID: <20240526172428.134726-4-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: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org From: "Dr. David Alan Gilbert" 'mlx4_port_config was added by commit ab9c17a009ee ("mlx4_core: Modify driver initialization flow to accommodate SRIOV for Ethernet") but remained unused. Remove it. Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Tariq Toukan --- drivers/net/ethernet/mellanox/mlx4/main.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/net/ethernet/mellanox/mlx4/main.c b/drivers/net/ethernet/mellanox/mlx4/main.c index 98688e4dbec5..febeadfdd5a5 100644 --- a/drivers/net/ethernet/mellanox/mlx4/main.c +++ b/drivers/net/ethernet/mellanox/mlx4/main.c @@ -169,12 +169,6 @@ module_param_array(port_type_array, int, &arr_argc, 0444); MODULE_PARM_DESC(port_type_array, "Array of port types: HW_DEFAULT (0) is default " "1 for IB, 2 for Ethernet"); -struct mlx4_port_config { - struct list_head list; - enum mlx4_port_type port_type[MLX4_MAX_PORTS + 1]; - struct pci_dev *pdev; -}; - static atomic_t pf_loading = ATOMIC_INIT(0); static int mlx4_devlink_ierr_reset_get(struct devlink *devlink, u32 id, From patchwork Sun May 26 17:24:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dr. David Alan Gilbert" X-Patchwork-Id: 13674311 X-Patchwork-Delegate: kuba@kernel.org 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="I6HJSLrt" 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: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org 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