staging: r8188eu: remove DynamicTxHighPowerLvl from struct dm_priv
The field DynamicTxHighPowerLvl of struct dm_priv is set but never used. Remove it and remove now unused variables from odm_DynamicTxPowerInit(). Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20210921194658.10654-8-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
b6d11bc3ac
Коммит
631333e487
|
@ -1180,10 +1180,6 @@ bool ODM_RAStateCheck(struct odm_dm_struct *pDM_Odm, s32 RSSI, bool bForceUpdate
|
|||
|
||||
void odm_DynamicTxPowerInit(struct odm_dm_struct *pDM_Odm)
|
||||
{
|
||||
struct adapter *Adapter = pDM_Odm->Adapter;
|
||||
struct hal_data_8188e *pHalData = GET_HAL_DATA(Adapter);
|
||||
struct dm_priv *pdmpriv = &pHalData->dmpriv;
|
||||
pdmpriv->DynamicTxHighPowerLvl = TxHighPwrLevel_Normal;
|
||||
}
|
||||
|
||||
/* 3============================================================ */
|
||||
|
|
|
@ -27,9 +27,6 @@ struct dm_priv {
|
|||
int EntryMaxUndecoratedSmoothedPWDB;
|
||||
int MinUndecoratedPWDBForDM;
|
||||
int LastMinUndecoratedPWDBForDM;
|
||||
|
||||
/* for High Power */
|
||||
u8 DynamicTxHighPowerLvl;/* Tx Power Control for Near/Far Range */
|
||||
};
|
||||
|
||||
void rtl8188e_init_dm_priv(struct adapter *adapt);
|
||||
|
|
Загрузка…
Ссылка в новой задаче