diff options
author | Nishka Dasgupta <nishkadg.linux@gmail.com> | 2019-07-02 12:31:28 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-07-03 18:35:04 +0200 |
commit | d312a47f35f71af0a3da9be7783d4c91b91fedce (patch) | |
tree | 7404e2ab7f4156ae15ca43dbbc6f2ab0332b95a8 /drivers/staging/rtl8723bs/core/rtw_btcoex.c | |
parent | aa0963a11669f0d10f8e263885e253d7ced4937a (diff) | |
download | linux-stable-d312a47f35f71af0a3da9be7783d4c91b91fedce.tar.gz linux-stable-d312a47f35f71af0a3da9be7783d4c91b91fedce.tar.bz2 linux-stable-d312a47f35f71af0a3da9be7783d4c91b91fedce.zip |
staging: rtl8723bs: Remove rtw_btcoex_IsBTCoexCtrlAMPDUSize()
Remove function rtw_btcoex_IsBTCoexCtrlAMPDUSize as it does nothing
except call hal_btcoex_IsBTCoexCtrlAMPDUSize.
Modify call site accordingly.
Issue found with Coccinelle.
Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Link: https://lore.kernel.org/r/20190702070132.6997-5-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.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/rtl8723bs/core/rtw_btcoex.c b/drivers/staging/rtl8723bs/core/rtw_btcoex.c index d9bae9fa78d6..e00336ab2ee6 100644 --- a/drivers/staging/rtl8723bs/core/rtw_btcoex.c +++ b/drivers/staging/rtl8723bs/core/rtw_btcoex.c @@ -38,15 +38,6 @@ void rtw_btcoex_HaltNotify(struct adapter *padapter) hal_btcoex_HaltNotify(padapter); } -s32 rtw_btcoex_IsBTCoexCtrlAMPDUSize(struct adapter *padapter) -{ - s32 coexctrl; - - coexctrl = hal_btcoex_IsBTCoexCtrlAMPDUSize(padapter); - - return coexctrl; -} - void rtw_btcoex_DisplayBtCoexInfo(struct adapter *padapter, u8 *pbuf, u32 bufsize) { hal_btcoex_DisplayBtCoexInfo(padapter, pbuf, bufsize); |