mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 14:04:54 +02:00
staging: r8188eu: tx_retevt semaphore is not used
Remove tx_retevt from struct xmit_priv. This semaphore is initialised but not used. 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-17-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
38a9b8372e
commit
26cf6c2c22
|
|
@ -196,8 +196,6 @@ int _rtw_init_xmit_priv(struct xmit_priv *pxmitpriv, struct adapter *padapter)
|
|||
|
||||
pxmitpriv->txirp_cnt = 1;
|
||||
|
||||
sema_init(&pxmitpriv->tx_retevt, 0);
|
||||
|
||||
/* per AC pending irp */
|
||||
pxmitpriv->beq_cnt = 0;
|
||||
pxmitpriv->bkq_cnt = 0;
|
||||
|
|
|
|||
|
|
@ -280,7 +280,6 @@ struct xmit_priv {
|
|||
u8 wmm_para_seq[4];/* sequence for wmm ac parameter strength
|
||||
* from large to small. it's value is 0->vo,
|
||||
* 1->vi, 2->be, 3->bk. */
|
||||
struct semaphore tx_retevt;/* all tx return event; */
|
||||
u8 txirp_cnt;/* */
|
||||
struct tasklet_struct xmit_tasklet;
|
||||
/* per AC pending irp */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user