mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
staging:r8188eu: remove bTXPowerTrackingInit member of odm_rf_cal structure
bTXPowerTrackingInit assigned, but not used. Signed-off-by: Ivan Safonov <insafonov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
85a7dc225d
commit
660d7afff7
@ -991,7 +991,6 @@ void odm_TXPowerTrackingThermalMeterInit(struct odm_dm_struct *pDM_Odm)
|
||||
{
|
||||
pDM_Odm->RFCalibrateInfo.bTXPowerTracking = true;
|
||||
pDM_Odm->RFCalibrateInfo.TXPowercount = 0;
|
||||
pDM_Odm->RFCalibrateInfo.bTXPowerTrackingInit = false;
|
||||
if (*(pDM_Odm->mp_mode) != 1)
|
||||
pDM_Odm->RFCalibrateInfo.TxPowerTrackControl = true;
|
||||
MSG_88E("pDM_Odm TxPowerTrackControl = %d\n", pDM_Odm->RFCalibrateInfo.TxPowerTrackControl);
|
||||
|
@ -412,7 +412,6 @@ void rtl88eu_dm_txpower_tracking_callback_thermalmeter(struct adapter *adapt)
|
||||
dm_txpwr_track_setpwr(dm_odm);
|
||||
|
||||
dm_odm->RFCalibrateInfo.TXPowerTrackingCallbackCnt++;
|
||||
dm_odm->RFCalibrateInfo.bTXPowerTrackingInit = true;
|
||||
|
||||
dm_odm->RFCalibrateInfo.RegA24 = 0x090e1317;
|
||||
|
||||
|
@ -590,7 +590,6 @@ struct odm_rf_cal {
|
||||
s32 RegEBC;
|
||||
|
||||
u8 TXPowercount;
|
||||
bool bTXPowerTrackingInit;
|
||||
bool bTXPowerTracking;
|
||||
u8 TxPowerTrackControl; /* for mp mode, turn off txpwrtracking
|
||||
* as default */
|
||||
|
Loading…
Reference in New Issue
Block a user