mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 15:49:42 -04:00
staging: r8188eu: apsd is initialised but never used
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
5a4d1fd158
commit
6a800cf386
@@ -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,
|
||||
|
||||
@@ -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];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user