patch-2.3.99-pre7 linux/drivers/net/rcpci45.c

Next file: linux/drivers/net/sb1000.c
Previous file: linux/drivers/net/pppox.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre6/linux/drivers/net/rcpci45.c linux/drivers/net/rcpci45.c
@@ -117,7 +117,6 @@
      */
     struct net_device *dev;            
      
-    char devname[8];                /* "ethN" string */
     U8     id;                        /* the AdapterID */
     U32    pci_addr;               /* the pci address of the adapter */
     U32    bus;
@@ -276,8 +275,6 @@
 #endif
 
     pDpa = dev->priv;
-    if (!dev->name)
-        dev->name = pDpa->devname;
 
     pDpa->dev = dev;            /* this is just for easy reference */
     pDpa->function = function;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)