staging: r8188eu: apsd is initialised but never used
authorMartin Kaiser <martin@kaiser.cx>
Mon, 30 Jan 2023 19:53:01 +0000 (20:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 31 Jan 2023 10:16:57 +0000 (11:16 +0100)
apsd in struct sta_xmit_priv is initialised but not used. It can be
removed.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20230130195303.138941-8-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 797e24b852b119cadac01b316b0b78ab2e61093e..91f92ec5ef69449ac3e55529964640f81a810e64 100644 (file)
@@ -29,7 +29,6 @@ void  _rtw_init_sta_xmit_priv(struct sta_xmit_priv *psta_xmitpriv)
        _init_txservq(&psta_xmitpriv->bk_q);
        _init_txservq(&psta_xmitpriv->vi_q);
        _init_txservq(&psta_xmitpriv->vo_q);
-       INIT_LIST_HEAD(&psta_xmitpriv->apsd);
 }
 
 static int rtw_xmit_resource_alloc(struct adapter *padapter, struct xmit_buf *pxmitbuf,
index 8566e731514c67db901b71ba30b4c687b90e19e5..4c508ab4c870e9222cdbe0e5c5e370efd9f049a1 100644 (file)
@@ -232,7 +232,6 @@ struct sta_xmit_priv {
        struct tx_servq bk_q;                   /* priority == 1,2 */
        struct tx_servq vi_q;                   /* priority == 4,5 */
        struct tx_servq vo_q;                   /* priority == 6,7 */
-       struct list_head apsd;
        u16 txseq_tid[16];
 };