staging: rtl8723bs: Remove rtw_btcoex_RpwmVal()
Remove function rtw_btcoex_RpwmVal as all it does is call hal_btcoex_RpwmVal. Modify call sites accordingly. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com> Link: https://lore.kernel.org/r/20190701091817.12759-1-nishkadg.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6a2ac8d4bf
commit
78c5f096d7
|
@ -77,11 +77,6 @@ u8 rtw_btcoex_IsBtControlLps(struct adapter *padapter)
|
|||
return hal_btcoex_IsBtControlLps(padapter);
|
||||
}
|
||||
|
||||
u8 rtw_btcoex_RpwmVal(struct adapter *padapter)
|
||||
{
|
||||
return hal_btcoex_RpwmVal(padapter);
|
||||
}
|
||||
|
||||
u8 rtw_btcoex_LpsVal(struct adapter *padapter)
|
||||
{
|
||||
return hal_btcoex_LpsVal(padapter);
|
||||
|
|
|
@ -1045,7 +1045,7 @@ void rtl8723b_set_FwPwrMode_cmd(struct adapter *padapter, u8 psmode)
|
|||
|
||||
if (psmode > 0) {
|
||||
if (rtw_btcoex_IsBtControlLps(padapter) == true) {
|
||||
PowerState = rtw_btcoex_RpwmVal(padapter);
|
||||
PowerState = hal_btcoex_RpwmVal(padapter);
|
||||
byte5 = rtw_btcoex_LpsVal(padapter);
|
||||
|
||||
if ((rlbm == 2) && (byte5 & BIT(4))) {
|
||||
|
|
|
@ -24,7 +24,6 @@ u8 rtw_btcoex_IsBtDisabled(struct adapter *);
|
|||
void rtw_btcoex_Handler(struct adapter *);
|
||||
s32 rtw_btcoex_IsBTCoexCtrlAMPDUSize(struct adapter *);
|
||||
u8 rtw_btcoex_IsBtControlLps(struct adapter *);
|
||||
u8 rtw_btcoex_RpwmVal(struct adapter *);
|
||||
u8 rtw_btcoex_LpsVal(struct adapter *);
|
||||
void rtw_btcoex_SetBTCoexist(struct adapter *, u8 bBtExist);
|
||||
void rtw_btcoex_SetChipType(struct adapter *, u8 chipType);
|
||||
|
|
Loading…
Reference in New Issue