Skip to content

Commit

Permalink
staging: rtl8188eu: remove another write-only member
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Martin Kaiser authored and Greg Kroah-Hartman committed Jun 14, 2021
1 parent d1d900c commit 64ed82a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/rtl8188eu/include/rtl8188e_hal.h
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@ struct hal_data_8188e {

u8 bTXPowerDataReadFromEEPORM;
u8 EEPROMThermalMeter;
u8 bAPKThermalMeterIgnore;

bool EepromOrEfuse;

Expand Down

0 comments on commit 64ed82a

Please sign in to comment.