Skip to content

Commit 948483e

Browse files
mistraubegregkh
authored andcommitted
staging: rtl8723bs: CheckFwRsvdPageContent is empty
The function CheckFwRsvdPageContent is empty, remove it. Signed-off-by: Michael Straube <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 400a23b commit 948483e

File tree

3 files changed

+0
-13
lines changed

3 files changed

+0
-13
lines changed

drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -285,15 +285,6 @@ static void ConstructNullFunctionData(
285285
*pLength = pktlen;
286286
}
287287

288-
/*
289-
* To check if reserved page content is destroyed by beacon because beacon
290-
* is too large.
291-
*/
292-
/* 2010.06.23. Added by tynli. */
293-
void CheckFwRsvdPageContent(struct adapter *Adapter)
294-
{
295-
}
296-
297288
static void rtl8723b_set_FwRsvdPage_cmd(struct adapter *padapter, struct rsvdpage_loc *rsvdpageloc)
298289
{
299290
u8 u1H2CRsvdPageParm[H2C_RSVDPAGE_LOC_LEN] = {0};

drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,8 +1196,6 @@ static void StopTxBeacon(struct adapter *padapter)
11961196
rtw_write8(padapter, REG_TBTT_PROHIBIT+1, 0x64);
11971197
pHalData->RegReg542 &= ~BIT(0);
11981198
rtw_write8(padapter, REG_TBTT_PROHIBIT+2, pHalData->RegReg542);
1199-
1200-
CheckFwRsvdPageContent(padapter); /* 2010.06.23. Added by tynli. */
12011199
}
12021200

12031201
static void _BeaconFunctionEnable(struct adapter *padapter, u8 Enable, u8 Linked)

drivers/staging/rtl8723bs/include/rtl8723b_cmd.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,6 @@ void rtl8723b_set_FwMediaStatusRpt_cmd(struct adapter *padapter, u8 mstatus, u8
175175
void rtl8723b_download_rsvd_page(struct adapter *padapter, u8 mstatus);
176176
void rtl8723b_download_BTCoex_AP_mode_rsvd_page(struct adapter *padapter);
177177

178-
void CheckFwRsvdPageContent(struct adapter *padapter);
179-
180178
void rtl8723b_set_FwPwrModeInIPS_cmd(struct adapter *padapter, u8 cmd_param);
181179

182180
s32 FillH2CCmd8723B(struct adapter *padapter, u8 ElementID, u32 CmdLen, u8 *pCmdBuffer);

0 commit comments

Comments
 (0)