staging: r8188eu: make odm_DynamicBBPowerSavingInit() static
Function odm_DynamicBBPowerSavingInit() is only used in odm.c. Make it static. Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20211229205108.26373-22-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
78865587d0
commit
e6b5ad5eeb
@ -364,6 +364,15 @@ static void odm_RefreshRateAdaptiveMask(struct odm_dm_struct *pDM_Odm)
|
||||
}
|
||||
}
|
||||
|
||||
static void odm_DynamicBBPowerSavingInit(struct odm_dm_struct *pDM_Odm)
|
||||
{
|
||||
struct rtl_ps *pDM_PSTable = &pDM_Odm->DM_PSTable;
|
||||
|
||||
pDM_PSTable->pre_rf_state = RF_MAX;
|
||||
pDM_PSTable->cur_rf_state = RF_MAX;
|
||||
pDM_PSTable->initialize = 0;
|
||||
}
|
||||
|
||||
/* 3 Export Interface */
|
||||
|
||||
/* 2011/09/21 MH Add to describe different team necessary resource allocate?? */
|
||||
@ -599,18 +608,6 @@ void ODM_Write_CCK_CCA_Thres(struct odm_dm_struct *pDM_Odm, u8 CurCCK_CCAThres)
|
||||
pDM_DigTable->CurCCK_CCAThres = CurCCK_CCAThres;
|
||||
}
|
||||
|
||||
/* 3============================================================ */
|
||||
/* 3 BB Power Save */
|
||||
/* 3============================================================ */
|
||||
void odm_DynamicBBPowerSavingInit(struct odm_dm_struct *pDM_Odm)
|
||||
{
|
||||
struct rtl_ps *pDM_PSTable = &pDM_Odm->DM_PSTable;
|
||||
|
||||
pDM_PSTable->pre_rf_state = RF_MAX;
|
||||
pDM_PSTable->cur_rf_state = RF_MAX;
|
||||
pDM_PSTable->initialize = 0;
|
||||
}
|
||||
|
||||
void ODM_RF_Saving(struct odm_dm_struct *pDM_Odm, u8 bForceInNormal)
|
||||
{
|
||||
struct rtl_ps *pDM_PSTable = &pDM_Odm->DM_PSTable;
|
||||
|
@ -31,7 +31,6 @@
|
||||
#include "odm_RegConfig8188E.h"
|
||||
#include "odm_RTL8188E.h"
|
||||
|
||||
void odm_DynamicBBPowerSavingInit(struct odm_dm_struct *pDM_Odm);
|
||||
void odm_TXPowerTrackingInit(struct odm_dm_struct *pDM_Odm);
|
||||
void ODM_EdcaTurboInit(struct odm_dm_struct *pDM_Odm);
|
||||
void odm_FalseAlarmCounterStatistics(struct odm_dm_struct *pDM_Odm);
|
||||
|
Loading…
Reference in New Issue
Block a user