mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-07 10:40:47 -05:00
staging: r8188eu: bTXPowerDataReadFromEEPORM is set but never used
The field bTXPowerDataReadFromEEPORM 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-4-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
ffcdb1b194
commit
a056e41a09
@@ -1127,9 +1127,6 @@ void Hal_ReadTxPowerInfo88E(struct adapter *padapter, u8 *PROMContent, bool Auto
|
||||
|
||||
Hal_ReadPowerValueFromPROM_8188E(&pwrInfo24G, PROMContent, AutoLoadFail);
|
||||
|
||||
if (!AutoLoadFail)
|
||||
pHalData->bTXPowerDataReadFromEEPORM = true;
|
||||
|
||||
for (ch = 0; ch < CHANNEL_MAX_NUMBER; ch++) {
|
||||
hal_get_chnl_group_88e(ch, &group);
|
||||
|
||||
|
||||
@@ -180,7 +180,6 @@ struct hal_data_8188e {
|
||||
u16 EEPROMSDID;
|
||||
u8 EEPROMRegulatory;
|
||||
|
||||
u8 bTXPowerDataReadFromEEPORM;
|
||||
u8 EEPROMThermalMeter;
|
||||
u8 bAPKThermalMeterIgnore;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user