summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8723bs/core/rtw_btcoex.c
diff options
context:
space:
mode:
authorNishka Dasgupta <nishkadg.linux@gmail.com>2019-07-01 14:48:14 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-03 18:34:08 +0200
commit5355735196369c3aea955ce41eacd8fef7db4fda (patch)
tree161f8c08c2c34ee16e37e1a9b27ff869aaa1a82b /drivers/staging/rtl8723bs/core/rtw_btcoex.c
parentd1f4b78027202d8cb8a45c885038f5fd70e0eaf2 (diff)
downloadlinux-stable-5355735196369c3aea955ce41eacd8fef7db4fda.tar.gz
linux-stable-5355735196369c3aea955ce41eacd8fef7db4fda.tar.bz2
linux-stable-5355735196369c3aea955ce41eacd8fef7db4fda.zip
staging: rtl8723bs: Remove rtw_btcoex_SetBTCoexist()
Remove function rtw_btcoex_SetBTCoexist as it does nothing except call hal_btcoex_SetBTCoexist. 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-7-nishkadg.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723bs/core/rtw_btcoex.c')
-rw-r--r--drivers/staging/rtl8723bs/core/rtw_btcoex.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/rtl8723bs/core/rtw_btcoex.c b/drivers/staging/rtl8723bs/core/rtw_btcoex.c
index 734e938fbaf7..de8f6cae7942 100644
--- a/drivers/staging/rtl8723bs/core/rtw_btcoex.c
+++ b/drivers/staging/rtl8723bs/core/rtw_btcoex.c
@@ -62,11 +62,6 @@ s32 rtw_btcoex_IsBTCoexCtrlAMPDUSize(struct adapter *padapter)
return coexctrl;
}
-void rtw_btcoex_SetBTCoexist(struct adapter *padapter, u8 bBtExist)
-{
- hal_btcoex_SetBTCoexist(padapter, bBtExist);
-}
-
void rtw_btcoex_SetChipType(struct adapter *padapter, u8 chipType)
{
hal_btcoex_SetChipType(padapter, chipType);