diff options
author | Nishka Dasgupta <nishkadg.linux@gmail.com> | 2019-07-02 12:31:31 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-07-03 18:35:04 +0200 |
commit | 66e8fafb70c206e2c5953ad8df6277fb2b0516da (patch) | |
tree | c42a7b4d9d1beecc13e772ab63591ed4e70a1716 /drivers | |
parent | eb408965f0e1846631cf82cfcbb3320bca79b456 (diff) | |
download | linux-66e8fafb70c206e2c5953ad8df6277fb2b0516da.tar.gz linux-66e8fafb70c206e2c5953ad8df6277fb2b0516da.tar.bz2 linux-66e8fafb70c206e2c5953ad8df6277fb2b0516da.zip |
staging: rtl8723bs: Remove rtw_btcoex_DisplayBtCoexInfo()
Remove function rtw_btcoex_DisplayBtCoexInfo as all it does is call
hal_btcoex_DisplayBtCoexInfo.
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-8-nishkadg.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/rtl8723bs/core/rtw_btcoex.c | 5 | ||||
-rw-r--r-- | drivers/staging/rtl8723bs/core/rtw_debug.c | 2 | ||||
-rw-r--r-- | drivers/staging/rtl8723bs/include/rtw_btcoex.h | 1 |
3 files changed, 1 insertions, 7 deletions
diff --git a/drivers/staging/rtl8723bs/core/rtw_btcoex.c b/drivers/staging/rtl8723bs/core/rtw_btcoex.c index de997c291f3a..44219b7b6123 100644 --- a/drivers/staging/rtl8723bs/core/rtw_btcoex.c +++ b/drivers/staging/rtl8723bs/core/rtw_btcoex.c @@ -38,11 +38,6 @@ void rtw_btcoex_HaltNotify(struct adapter *padapter) hal_btcoex_HaltNotify(padapter); } -void rtw_btcoex_DisplayBtCoexInfo(struct adapter *padapter, u8 *pbuf, u32 bufsize) -{ - hal_btcoex_DisplayBtCoexInfo(padapter, pbuf, bufsize); -} - /* ================================================== */ /* Below Functions are called by BT-Coex */ /* ================================================== */ diff --git a/drivers/staging/rtl8723bs/core/rtw_debug.c b/drivers/staging/rtl8723bs/core/rtw_debug.c index d46ea418d34e..695a85999270 100644 --- a/drivers/staging/rtl8723bs/core/rtw_debug.c +++ b/drivers/staging/rtl8723bs/core/rtw_debug.c @@ -1429,7 +1429,7 @@ int proc_get_btcoex_info(struct seq_file *m, void *v) if (!pbuf) return -ENOMEM; - rtw_btcoex_DisplayBtCoexInfo(padapter, pbuf, bufsize); + hal_btcoex_DisplayBtCoexInfo(padapter, pbuf, bufsize); DBG_871X_SEL(m, "%s\n", pbuf); diff --git a/drivers/staging/rtl8723bs/include/rtw_btcoex.h b/drivers/staging/rtl8723bs/include/rtw_btcoex.h index c2f2c1f35254..19764c80b8ba 100644 --- a/drivers/staging/rtl8723bs/include/rtw_btcoex.h +++ b/drivers/staging/rtl8723bs/include/rtw_btcoex.h @@ -17,7 +17,6 @@ void rtw_btcoex_MediaStatusNotify(struct adapter *, u8 mediaStatus); void rtw_btcoex_HaltNotify(struct adapter *); -void rtw_btcoex_DisplayBtCoexInfo(struct adapter *, u8 *pbuf, u32 bufsize); /* ================================================== */ /* Below Functions are called by BT-Coex */ |