staging: rtl8723bs: remove unused argument 'msg'
After the removal of the DBG_871X macros, the 'msg' argument for rtw_sctx_wait() is no longer used. Signed-off-by: Bryan Brattlof <hello@bryanbrattlof.com> Link: https://lore.kernel.org/r/20210513160848.1057564-1-hello@bryanbrattlof.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
56a1c5cc8a
commit
5f8e9aff1a
@ -693,7 +693,7 @@ int rtw_startbss_cmd(struct adapter *padapter, int flags)
|
||||
res = rtw_enqueue_cmd(pcmdpriv, pcmd);
|
||||
|
||||
if (res == _SUCCESS && (flags & RTW_CMDF_WAIT_ACK)) {
|
||||
rtw_sctx_wait(&sctx, __func__);
|
||||
rtw_sctx_wait(&sctx);
|
||||
if (mutex_lock_interruptible(&pcmdpriv->sctx_mutex) == 0) {
|
||||
if (sctx.status == RTW_SCTX_SUBMITTED)
|
||||
pcmd->sctx = NULL;
|
||||
|
@ -2137,7 +2137,7 @@ s32 dump_mgntframe_and_wait(struct adapter *padapter, struct xmit_frame *pmgntfr
|
||||
ret = rtw_hal_mgnt_xmit(padapter, pmgntframe);
|
||||
|
||||
if (ret == _SUCCESS)
|
||||
ret = rtw_sctx_wait(&sctx, __func__);
|
||||
ret = rtw_sctx_wait(&sctx);
|
||||
|
||||
spin_lock_irqsave(&pxmitpriv->lock_sctx, irqL);
|
||||
pxmitbuf->sctx = NULL;
|
||||
|
@ -2505,7 +2505,7 @@ void rtw_sctx_init(struct submit_ctx *sctx, int timeout_ms)
|
||||
sctx->status = RTW_SCTX_SUBMITTED;
|
||||
}
|
||||
|
||||
int rtw_sctx_wait(struct submit_ctx *sctx, const char *msg)
|
||||
int rtw_sctx_wait(struct submit_ctx *sctx)
|
||||
{
|
||||
int ret = _FAIL;
|
||||
unsigned long expire;
|
||||
@ -2546,7 +2546,7 @@ int rtw_ack_tx_wait(struct xmit_priv *pxmitpriv, u32 timeout_ms)
|
||||
pack_tx_ops->timeout_ms = timeout_ms;
|
||||
pack_tx_ops->status = RTW_SCTX_SUBMITTED;
|
||||
|
||||
return rtw_sctx_wait(pack_tx_ops, __func__);
|
||||
return rtw_sctx_wait(pack_tx_ops);
|
||||
}
|
||||
|
||||
void rtw_ack_tx_done(struct xmit_priv *pxmitpriv, int status)
|
||||
|
@ -234,7 +234,7 @@ enum {
|
||||
|
||||
|
||||
void rtw_sctx_init(struct submit_ctx *sctx, int timeout_ms);
|
||||
int rtw_sctx_wait(struct submit_ctx *sctx, const char *msg);
|
||||
int rtw_sctx_wait(struct submit_ctx *sctx);
|
||||
void rtw_sctx_done_err(struct submit_ctx **sctx, int status);
|
||||
void rtw_sctx_done(struct submit_ctx **sctx);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user