staging: r8188eu: remove rtw_sctx_done()
authorMichael Straube <straube.linux@gmail.com>
Wed, 22 Sep 2021 20:04:20 +0000 (22:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Sep 2021 15:29:43 +0000 (17:29 +0200)
Function rtw_sctx_done() is not used, remove it.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210922200420.9693-48-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_xmit.c
drivers/staging/r8188eu/include/rtw_xmit.h

index 6213244450e775d3288c99f9411d892be1c4d4fc..896ed91d38146641715809c22bdb3229786ee0d1 100644 (file)
@@ -2188,11 +2188,6 @@ void rtw_sctx_done_err(struct submit_ctx **sctx, int status)
        }
 }
 
-void rtw_sctx_done(struct submit_ctx **sctx)
-{
-       rtw_sctx_done_err(sctx, RTW_SCTX_DONE_SUCCESS);
-}
-
 int rtw_ack_tx_wait(struct xmit_priv *pxmitpriv, u32 timeout_ms)
 {
        struct submit_ctx *pack_tx_ops = &pxmitpriv->ack_tx_ops;
index 01e8b90becf5bce015a337d825786076c133f0a7..ea8e82e0b4be3d190dfda2efe697e8f11bb0dd26 100644 (file)
@@ -185,7 +185,6 @@ enum {
 void rtw_sctx_init(struct submit_ctx *sctx, int timeout_ms);
 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);
 
 struct xmit_buf {
        struct list_head list;