staging: r8188eu: bm_pending is not used
authorMartin Kaiser <martin@kaiser.cx>
Fri, 30 Dec 2022 18:06:40 +0000 (19:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jan 2023 18:31:22 +0000 (19:31 +0100)
The bm_pending queue in struct xmit_priv is initialised but not used. It
can be removed.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Link: https://lore.kernel.org/r/20221230180646.91008-15-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_xmit.c
drivers/staging/r8188eu/include/rtw_xmit.h

index 3e86db6db8248eb2abee9085a00479ef8588ce0e..a4e726fff5d404ac69ee307228af33640b01c254 100644 (file)
@@ -81,7 +81,6 @@ int _rtw_init_xmit_priv(struct xmit_priv *pxmitpriv, struct adapter *padapter)
        rtw_init_queue(&pxmitpriv->bk_pending);
        rtw_init_queue(&pxmitpriv->vi_pending);
        rtw_init_queue(&pxmitpriv->vo_pending);
-       rtw_init_queue(&pxmitpriv->bm_pending);
 
        rtw_init_queue(&pxmitpriv->free_xmit_queue);
 
index 1c4fbdf97a123e9159ceaaba8f84ed5cba4476f6..83638dede6e75e3753d514d4ef0cd04c0daa59df 100644 (file)
@@ -262,7 +262,6 @@ struct      xmit_priv {
        struct __queue bk_pending;
        struct __queue vi_pending;
        struct __queue vo_pending;
-       struct __queue bm_pending;
        u8 *pallocated_frame_buf;
        u8 *pxmit_frame_buf;
        uint free_xmitframe_cnt;