mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-13 00:29:50 +00:00
staging: r8188eu: TXPowercount is set but not used
TXPowercount in struct odm_rf_cal is set but not used. Remove it. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20220205113741.379070-2-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
74e69e95f1
commit
7f03a457f5
@ -285,7 +285,6 @@ odm_TXPowerTrackingCallback_ThermalMeter_8188E(
|
||||
if (dm_odm->RFCalibrateInfo.TxPowerTrackControl)
|
||||
dm_odm->RFCalibrateInfo.ThermalValue = ThermalValue;
|
||||
}
|
||||
dm_odm->RFCalibrateInfo.TXPowercount = 0;
|
||||
}
|
||||
|
||||
/* 1 7. IQK */
|
||||
|
@ -506,7 +506,6 @@ static void odm_RSSIMonitorCheck(struct odm_dm_struct *pDM_Odm)
|
||||
static void odm_TXPowerTrackingThermalMeterInit(struct odm_dm_struct *pDM_Odm)
|
||||
{
|
||||
pDM_Odm->RFCalibrateInfo.bTXPowerTracking = true;
|
||||
pDM_Odm->RFCalibrateInfo.TXPowercount = 0;
|
||||
pDM_Odm->RFCalibrateInfo.bTXPowerTrackingInit = false;
|
||||
pDM_Odm->RFCalibrateInfo.TxPowerTrackControl = true;
|
||||
}
|
||||
|
@ -229,7 +229,6 @@ struct odm_rf_cal {
|
||||
s32 RegEB4;
|
||||
s32 RegEBC;
|
||||
|
||||
u8 TXPowercount;
|
||||
bool bTXPowerTrackingInit;
|
||||
bool bTXPowerTracking;
|
||||
u8 TxPowerTrackControl; /* for mp mode, turn off txpwrtracking
|
||||
|
Loading…
x
Reference in New Issue
Block a user