mirror of https://gitee.com/openkylin/linux.git
staging: rtl8723bs: Remove function rtw_btcoex_GetDBG()
Remove function rtw_btcoex_GetDBG as all it does is call hal_btcoex_GetDBG. 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-7-nishkadg.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
24c4326e34
commit
eb408965f0
|
@ -43,11 +43,6 @@ void rtw_btcoex_DisplayBtCoexInfo(struct adapter *padapter, u8 *pbuf, u32 bufsiz
|
||||||
hal_btcoex_DisplayBtCoexInfo(padapter, pbuf, bufsize);
|
hal_btcoex_DisplayBtCoexInfo(padapter, pbuf, bufsize);
|
||||||
}
|
}
|
||||||
|
|
||||||
u32 rtw_btcoex_GetDBG(struct adapter *padapter, u8 *pStrBuf, u32 bufSize)
|
|
||||||
{
|
|
||||||
return hal_btcoex_GetDBG(padapter, pStrBuf, bufSize);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ================================================== */
|
/* ================================================== */
|
||||||
/* Below Functions are called by BT-Coex */
|
/* Below Functions are called by BT-Coex */
|
||||||
/* ================================================== */
|
/* ================================================== */
|
||||||
|
|
|
@ -1351,7 +1351,7 @@ int proc_get_btcoex_dbg(struct seq_file *m, void *v)
|
||||||
char buf[512] = {0};
|
char buf[512] = {0};
|
||||||
padapter = (struct adapter *)rtw_netdev_priv(dev);
|
padapter = (struct adapter *)rtw_netdev_priv(dev);
|
||||||
|
|
||||||
rtw_btcoex_GetDBG(padapter, buf, 512);
|
hal_btcoex_GetDBG(padapter, buf, 512);
|
||||||
|
|
||||||
DBG_871X_SEL(m, "%s", buf);
|
DBG_871X_SEL(m, "%s", buf);
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
void rtw_btcoex_MediaStatusNotify(struct adapter *, u8 mediaStatus);
|
void rtw_btcoex_MediaStatusNotify(struct adapter *, u8 mediaStatus);
|
||||||
void rtw_btcoex_HaltNotify(struct adapter *);
|
void rtw_btcoex_HaltNotify(struct adapter *);
|
||||||
void rtw_btcoex_DisplayBtCoexInfo(struct adapter *, u8 *pbuf, u32 bufsize);
|
void rtw_btcoex_DisplayBtCoexInfo(struct adapter *, u8 *pbuf, u32 bufsize);
|
||||||
u32 rtw_btcoex_GetDBG(struct adapter *, u8 *pStrBuf, u32 bufSize);
|
|
||||||
|
|
||||||
/* ================================================== */
|
/* ================================================== */
|
||||||
/* Below Functions are called by BT-Coex */
|
/* Below Functions are called by BT-Coex */
|
||||||
|
|
Loading…
Reference in New Issue