mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 08:46:46 +00:00
staging: rtl8723bs: Remove rtw_btcoex_SetChipType()
Remove function rtw_btcoex_SetChipType as it does nothing but call hal_btcoex_SetChipType. 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-9-nishkadg.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8739e064de
commit
efa6b6c9c4
3 changed files with 1 additions and 7 deletions
|
@ -57,11 +57,6 @@ s32 rtw_btcoex_IsBTCoexCtrlAMPDUSize(struct adapter *padapter)
|
||||||
return coexctrl;
|
return coexctrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
void rtw_btcoex_SetChipType(struct adapter *padapter, u8 chipType)
|
|
||||||
{
|
|
||||||
hal_btcoex_SetChipType(padapter, chipType);
|
|
||||||
}
|
|
||||||
|
|
||||||
void rtw_btcoex_SetPGAntNum(struct adapter *padapter, u8 antNum)
|
void rtw_btcoex_SetPGAntNum(struct adapter *padapter, u8 antNum)
|
||||||
{
|
{
|
||||||
hal_btcoex_SetPgAntNum(padapter, antNum);
|
hal_btcoex_SetPgAntNum(padapter, antNum);
|
||||||
|
|
|
@ -2695,7 +2695,7 @@ void Hal_EfuseParseBTCoexistInfo_8723B(
|
||||||
}
|
}
|
||||||
|
|
||||||
hal_btcoex_SetBTCoexist(padapter, pHalData->EEPROMBluetoothCoexist);
|
hal_btcoex_SetBTCoexist(padapter, pHalData->EEPROMBluetoothCoexist);
|
||||||
rtw_btcoex_SetChipType(padapter, pHalData->EEPROMBluetoothType);
|
hal_btcoex_SetChipType(padapter, pHalData->EEPROMBluetoothType);
|
||||||
rtw_btcoex_SetPGAntNum(padapter, pHalData->EEPROMBluetoothAntNum == Ant_x2 ? 2 : 1);
|
rtw_btcoex_SetPGAntNum(padapter, pHalData->EEPROMBluetoothAntNum == Ant_x2 ? 2 : 1);
|
||||||
if (pHalData->EEPROMBluetoothAntNum == Ant_x1)
|
if (pHalData->EEPROMBluetoothAntNum == Ant_x1)
|
||||||
rtw_btcoex_SetSingleAntPath(padapter, pHalData->ant_path);
|
rtw_btcoex_SetSingleAntPath(padapter, pHalData->ant_path);
|
||||||
|
|
|
@ -20,7 +20,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 *);
|
||||||
s32 rtw_btcoex_IsBTCoexCtrlAMPDUSize(struct adapter *);
|
s32 rtw_btcoex_IsBTCoexCtrlAMPDUSize(struct adapter *);
|
||||||
void rtw_btcoex_SetChipType(struct adapter *, u8 chipType);
|
|
||||||
void rtw_btcoex_SetPGAntNum(struct adapter *, u8 antNum);
|
void rtw_btcoex_SetPGAntNum(struct adapter *, u8 antNum);
|
||||||
void rtw_btcoex_SetSingleAntPath(struct adapter *padapter, u8 singleAntPath);
|
void rtw_btcoex_SetSingleAntPath(struct adapter *padapter, u8 singleAntPath);
|
||||||
u32 rtw_btcoex_GetRaMask(struct adapter *);
|
u32 rtw_btcoex_GetRaMask(struct adapter *);
|
||||||
|
|
Loading…
Reference in a new issue