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

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

diff -u --recursive --new-file v2.3.99-pre6/linux/drivers/net/eepro.c linux/drivers/net/eepro.c
@@ -1572,7 +1572,6 @@
 }
 
 #define MAX_EEPRO 8
-static char devicename[MAX_EEPRO][9];
 static struct net_device dev_eepro[MAX_EEPRO];
 
 static int io[MAX_EEPRO] = {
@@ -1606,7 +1605,6 @@
 
 	while (n_eepro < MAX_EEPRO && io[n_eepro] >= 0) {
 		struct net_device *d = &dev_eepro[n_eepro];
-		d->name		= devicename[n_eepro]; /* inserted by drivers/net/net_init.c */
 		d->mem_end	= mem[n_eepro];
 		d->base_addr	= io[n_eepro];
 		d->irq		= irq[n_eepro];

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