mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 02:19:51 +00:00
staging: rtl8723bs: Remove rtw_btcoex_Handler()
Remove function rtw_btcoex_Handler as it does nothing except call hal_btcoex_Handler. Modify call site accordingly. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com> Link: https://lore.kernel.org/r/20190701091817.12759-4-nishkadg.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ee8e2ce55d
commit
a158111d54
3 changed files with 1 additions and 7 deletions
|
@ -58,11 +58,6 @@ u8 rtw_btcoex_IsBtDisabled(struct adapter *padapter)
|
||||||
return hal_btcoex_IsBtDisabled(padapter);
|
return hal_btcoex_IsBtDisabled(padapter);
|
||||||
}
|
}
|
||||||
|
|
||||||
void rtw_btcoex_Handler(struct adapter *padapter)
|
|
||||||
{
|
|
||||||
hal_btcoex_Handler(padapter);
|
|
||||||
}
|
|
||||||
|
|
||||||
s32 rtw_btcoex_IsBTCoexCtrlAMPDUSize(struct adapter *padapter)
|
s32 rtw_btcoex_IsBTCoexCtrlAMPDUSize(struct adapter *padapter)
|
||||||
{
|
{
|
||||||
s32 coexctrl;
|
s32 coexctrl;
|
||||||
|
|
|
@ -1440,7 +1440,7 @@ static void dynamic_chk_wk_hdl(struct adapter *padapter)
|
||||||
/* */
|
/* */
|
||||||
/* BT-Coexist */
|
/* BT-Coexist */
|
||||||
/* */
|
/* */
|
||||||
rtw_btcoex_Handler(padapter);
|
hal_btcoex_Handler(padapter);
|
||||||
|
|
||||||
|
|
||||||
/* always call rtw_ps_processor() at last one. */
|
/* always call rtw_ps_processor() at last one. */
|
||||||
|
|
|
@ -21,7 +21,6 @@ void rtw_btcoex_MediaStatusNotify(struct adapter *, u8 mediaStatus);
|
||||||
void rtw_btcoex_BtInfoNotify(struct adapter *, u8 length, u8 *tmpBuf);
|
void rtw_btcoex_BtInfoNotify(struct adapter *, u8 length, u8 *tmpBuf);
|
||||||
void rtw_btcoex_HaltNotify(struct adapter *);
|
void rtw_btcoex_HaltNotify(struct adapter *);
|
||||||
u8 rtw_btcoex_IsBtDisabled(struct adapter *);
|
u8 rtw_btcoex_IsBtDisabled(struct adapter *);
|
||||||
void rtw_btcoex_Handler(struct adapter *);
|
|
||||||
s32 rtw_btcoex_IsBTCoexCtrlAMPDUSize(struct adapter *);
|
s32 rtw_btcoex_IsBTCoexCtrlAMPDUSize(struct adapter *);
|
||||||
u8 rtw_btcoex_IsBtControlLps(struct adapter *);
|
u8 rtw_btcoex_IsBtControlLps(struct adapter *);
|
||||||
void rtw_btcoex_SetBTCoexist(struct adapter *, u8 bBtExist);
|
void rtw_btcoex_SetBTCoexist(struct adapter *, u8 bBtExist);
|
||||||
|
|
Loading…
Reference in a new issue