|
@@ -3900,10 +3900,6 @@ static s32 e1000_do_read_eeprom(struct e1000_hw *hw, u16 offset, u16 words,
|
|
return E1000_SUCCESS;
|
|
return E1000_SUCCESS;
|
|
}
|
|
}
|
|
|
|
|
|
- /* If eeprom is not yet detected, do so now */
|
|
|
|
- if (eeprom->word_size == 0)
|
|
|
|
- e1000_init_eeprom_params(hw);
|
|
|
|
-
|
|
|
|
/* A check for invalid values: offset too large, too many words, and
|
|
/* A check for invalid values: offset too large, too many words, and
|
|
* not enough words.
|
|
* not enough words.
|
|
*/
|
|
*/
|
|
@@ -4074,10 +4070,6 @@ static s32 e1000_do_write_eeprom(struct e1000_hw *hw, u16 offset, u16 words,
|
|
return E1000_SUCCESS;
|
|
return E1000_SUCCESS;
|
|
}
|
|
}
|
|
|
|
|
|
- /* If eeprom is not yet detected, do so now */
|
|
|
|
- if (eeprom->word_size == 0)
|
|
|
|
- e1000_init_eeprom_params(hw);
|
|
|
|
-
|
|
|
|
/* A check for invalid values: offset too large, too many words, and
|
|
/* A check for invalid values: offset too large, too many words, and
|
|
* not enough words.
|
|
* not enough words.
|
|
*/
|
|
*/
|