mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2026-03-31 22:49:56 +00:00
Remove all calls to _rtw_spinlock_free()
This routine is empty, thus all calls to it can be removed. Link: https://lore.kernel.org/r/20210805183717.23007-4-Larry.Finger@lwfinger.net
This commit is contained in:
committed by
Carlos Garcés
parent
34ec238387
commit
51e1f13a91
@@ -168,19 +168,9 @@ exit:
|
||||
void rtw_mfree_recv_priv_lock(struct recv_priv *precvpriv);
|
||||
void rtw_mfree_recv_priv_lock(struct recv_priv *precvpriv)
|
||||
{
|
||||
_rtw_spinlock_free(&precvpriv->lock);
|
||||
#ifdef CONFIG_RECV_THREAD_MODE
|
||||
_rtw_free_sema(&precvpriv->recv_sema);
|
||||
#endif
|
||||
|
||||
_rtw_spinlock_free(&precvpriv->free_recv_queue.lock);
|
||||
_rtw_spinlock_free(&precvpriv->recv_pending_queue.lock);
|
||||
|
||||
_rtw_spinlock_free(&precvpriv->free_recv_buf_queue.lock);
|
||||
|
||||
#ifdef CONFIG_USE_USB_BUFFER_ALLOC_RX
|
||||
_rtw_spinlock_free(&precvpriv->recv_buf_pending_queue.lock);
|
||||
#endif /* CONFIG_USE_USB_BUFFER_ALLOC_RX */
|
||||
}
|
||||
|
||||
void _rtw_free_recv_priv(struct recv_priv *precvpriv)
|
||||
|
||||
Reference in New Issue
Block a user