mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-01 04:53:09 -04:00
staging: rtl8188eu: remove another write-only member
bAPKThermalMeterIgnore in struct hal_data_8188e is never read and can be removed. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20210612180019.20387-5-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
d1d900c665
commit
64ed82a549
@@ -567,7 +567,6 @@ void Hal_ReadThermalMeter_88E(struct adapter *Adapter, u8 *PROMContent, bool Aut
|
||||
pHalData->EEPROMThermalMeter = EEPROM_Default_ThermalMeter_88E;
|
||||
|
||||
if (pHalData->EEPROMThermalMeter == 0xff || AutoloadFail) {
|
||||
pHalData->bAPKThermalMeterIgnore = true;
|
||||
pHalData->EEPROMThermalMeter = EEPROM_Default_ThermalMeter_88E;
|
||||
}
|
||||
DBG_88E("ThermalMeter = 0x%x\n", pHalData->EEPROMThermalMeter);
|
||||
|
||||
@@ -208,7 +208,6 @@ struct hal_data_8188e {
|
||||
|
||||
u8 bTXPowerDataReadFromEEPORM;
|
||||
u8 EEPROMThermalMeter;
|
||||
u8 bAPKThermalMeterIgnore;
|
||||
|
||||
bool EepromOrEfuse;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user