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: make ODM_EdcaTurboInit() static
Function ODM_EdcaTurboInit() 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-30-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
bccd2be784
commit
f24eec9cd6
@ -552,6 +552,14 @@ static void odm_HwAntDiv(struct odm_dm_struct *pDM_Odm)
|
||||
ODM_AntennaDiversity_88E(pDM_Odm);
|
||||
}
|
||||
|
||||
static void ODM_EdcaTurboInit(struct odm_dm_struct *pDM_Odm)
|
||||
{
|
||||
struct adapter *Adapter = pDM_Odm->Adapter;
|
||||
pDM_Odm->DM_EDCA_Table.bCurrentTurboEDCA = false;
|
||||
pDM_Odm->DM_EDCA_Table.bIsCurRDLState = false;
|
||||
Adapter->recvpriv.bIsAnyNonBEPkts = false;
|
||||
}
|
||||
|
||||
/* 3 Export Interface */
|
||||
|
||||
/* 2011/09/21 MH Add to describe different team necessary resource allocate?? */
|
||||
@ -867,16 +875,6 @@ void ODM_TXPowerTrackingCheck(struct odm_dm_struct *pDM_Odm)
|
||||
}
|
||||
}
|
||||
|
||||
/* EDCA Turbo */
|
||||
void ODM_EdcaTurboInit(struct odm_dm_struct *pDM_Odm)
|
||||
{
|
||||
struct adapter *Adapter = pDM_Odm->Adapter;
|
||||
pDM_Odm->DM_EDCA_Table.bCurrentTurboEDCA = false;
|
||||
pDM_Odm->DM_EDCA_Table.bIsCurRDLState = false;
|
||||
Adapter->recvpriv.bIsAnyNonBEPkts = false;
|
||||
|
||||
} /* ODM_InitEdcaTurbo */
|
||||
|
||||
void odm_EdcaTurboCheck(struct odm_dm_struct *pDM_Odm)
|
||||
{
|
||||
struct adapter *Adapter = pDM_Odm->Adapter;
|
||||
|
@ -31,7 +31,6 @@
|
||||
#include "odm_RegConfig8188E.h"
|
||||
#include "odm_RTL8188E.h"
|
||||
|
||||
void ODM_EdcaTurboInit(struct odm_dm_struct *pDM_Odm);
|
||||
void odm_EdcaTurboCheck(struct odm_dm_struct *pDM_Odm);
|
||||
|
||||
#endif /* __ODM_PRECOMP_H__ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user