mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09:00
staging: r8188eu: remove rtl8188e_InitializeFirmwareVars()
Merge rtl8188e_InitializeFirmwareVars() into rtl8188eu_hal_init() and remove rtl8188e_InitializeFirmwareVars(). Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20220107103620.15648-3-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
915d5c3248
commit
6da9712503
@@ -623,17 +623,6 @@ Exit:
|
||||
return rtStatus;
|
||||
}
|
||||
|
||||
void rtl8188e_InitializeFirmwareVars(struct adapter *padapter)
|
||||
{
|
||||
struct hal_data_8188e *pHalData = &padapter->haldata;
|
||||
|
||||
/* Init Fw LPS related. */
|
||||
padapter->pwrctrlpriv.bFwCurrentInPSMode = false;
|
||||
|
||||
/* Init H2C counter. by tynli. 2009.12.09. */
|
||||
pHalData->LastHMEBoxNum = 0;
|
||||
}
|
||||
|
||||
/* */
|
||||
/* Efuse related code */
|
||||
/* */
|
||||
|
||||
@@ -636,7 +636,9 @@ u32 rtl8188eu_hal_init(struct adapter *Adapter)
|
||||
Adapter->bFWReady = true;
|
||||
haldata->fw_ractrl = false;
|
||||
}
|
||||
rtl8188e_InitializeFirmwareVars(Adapter);
|
||||
/* Initialize firmware vars */
|
||||
Adapter->pwrctrlpriv.bFwCurrentInPSMode = false;
|
||||
haldata->LastHMEBoxNum = 0;
|
||||
|
||||
#if (HAL_MAC_ENABLE == 1)
|
||||
status = PHY_MACConfig8188E(Adapter);
|
||||
|
||||
@@ -253,7 +253,6 @@ struct hal_data_8188e {
|
||||
/* rtl8188e_hal_init.c */
|
||||
s32 rtl8188e_FirmwareDownload(struct adapter *padapter);
|
||||
void _8051Reset88E(struct adapter *padapter);
|
||||
void rtl8188e_InitializeFirmwareVars(struct adapter *padapter);
|
||||
|
||||
s32 InitLLTTable(struct adapter *padapter, u8 txpktbuf_bndy);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user