|
@@ -625,7 +625,7 @@ static int w89c840_probe ( struct nic *nic, struct pci_device *p ) {
|
625
|
625
|
|
626
|
626
|
|
627
|
627
|
u16 sum = 0;
|
628
|
|
- int i, j;
|
|
628
|
+ int i;
|
629
|
629
|
unsigned short value;
|
630
|
630
|
|
631
|
631
|
if (p->ioaddr == 0)
|
|
@@ -666,7 +666,7 @@ static int w89c840_probe ( struct nic *nic, struct pci_device *p ) {
|
666
|
666
|
adjust_pci_device(p);
|
667
|
667
|
|
668
|
668
|
/* Ok. Got one. Read the eeprom. */
|
669
|
|
- for (j = 0, i = 0; i < 0x40; i++) {
|
|
669
|
+ for (i = 0; i < 0x40; i++) {
|
670
|
670
|
value = eeprom_read(ioaddr, i);
|
671
|
671
|
eeprom[i] = value;
|
672
|
672
|
sum += value;
|