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:17 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-03 18:34:09 +0200
commit69fa65f92d930a82c51352b071089f5316fbdc32 (patch)
treeb0cde37479145977720370b1d114bc4880565b69 /drivers/staging/rtl8723bs/core/rtw_btcoex.c
parentefa6b6c9c4c3d868db79753578a44da9742f6da1 (diff)
downloadlinux-stable-69fa65f92d930a82c51352b071089f5316fbdc32.tar.gz
linux-stable-69fa65f92d930a82c51352b071089f5316fbdc32.tar.bz2
linux-stable-69fa65f92d930a82c51352b071089f5316fbdc32.zip
staging: rtl8723bs: Remove rtw_btcoex_GetRaMask()
Remove function rtw_btcoex_GetRaMask as all it does is call hal_btcoex_GetRaMask. 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-10-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 0d4367a0961a..915cd093a759 100644
--- a/drivers/staging/rtl8723bs/core/rtw_btcoex.c
+++ b/drivers/staging/rtl8723bs/core/rtw_btcoex.c
@@ -67,11 +67,6 @@ void rtw_btcoex_SetSingleAntPath(struct adapter *padapter, u8 singleAntPath)
hal_btcoex_SetSingleAntPath(padapter, singleAntPath);
}
-u32 rtw_btcoex_GetRaMask(struct adapter *padapter)
-{
- return hal_btcoex_GetRaMask(padapter);
-}
-
void rtw_btcoex_DisplayBtCoexInfo(struct adapter *padapter, u8 *pbuf, u32 bufsize)
{
hal_btcoex_DisplayBtCoexInfo(padapter, pbuf, bufsize);