staging: r8188eu: bAPKThermalMeterIgnore is set but never used
The field bAPKThermalMeterIgnore of struct hal_data_8188e is set but never used. Remove it. Acked-by: Martin Kaiser <martin@kaiser.cx> Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20220101084937.3411-5-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a056e41a09
commit
cfd060fe2e
|
@ -1230,9 +1230,8 @@ void Hal_ReadThermalMeter_88E(struct adapter *Adapter, u8 *PROMContent, bool Aut
|
|||
else
|
||||
pHalData->EEPROMThermalMeter = EEPROM_Default_ThermalMeter_88E;
|
||||
|
||||
if (pHalData->EEPROMThermalMeter == 0xff || AutoloadFail) {
|
||||
pHalData->bAPKThermalMeterIgnore = true;
|
||||
if (pHalData->EEPROMThermalMeter == 0xff || AutoloadFail)
|
||||
pHalData->EEPROMThermalMeter = EEPROM_Default_ThermalMeter_88E;
|
||||
}
|
||||
|
||||
DBG_88E("ThermalMeter = 0x%x\n", pHalData->EEPROMThermalMeter);
|
||||
}
|
||||
|
|
|
@ -181,7 +181,6 @@ struct hal_data_8188e {
|
|||
u8 EEPROMRegulatory;
|
||||
|
||||
u8 EEPROMThermalMeter;
|
||||
u8 bAPKThermalMeterIgnore;
|
||||
|
||||
bool EepromOrEfuse;
|
||||
|
||||
|
|
Loading…
Reference in New Issue