]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
net: ethernet: 8390: ne2k-pci: remove unused struct 'ne2k_pci_card'
authorDr. David Alan Gilbert <linux@treblig.org>
Sun, 26 May 2024 17:24:28 +0000 (18:24 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 28 May 2024 13:21:12 +0000 (15:21 +0200)
'ne2k_pci_card' is unused since 2.3.99-pre3 in March 2000.

Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/8390/ne2k-pci.c

index 65f56a98c0a06178a2f7499cdf3fc22c46fdaf60..1a34da07c0db26eb96b68bab42ca87ab04bcf120 100644 (file)
@@ -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