mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2025-12-10 00:04:17 +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
@@ -1365,19 +1365,6 @@ void _rtw_spinlock_init(_lock *plock)
|
||||
|
||||
}
|
||||
|
||||
void _rtw_spinlock_free(_lock *plock)
|
||||
{
|
||||
#ifdef PLATFORM_FREEBSD
|
||||
mtx_destroy(plock);
|
||||
#endif
|
||||
|
||||
#ifdef PLATFORM_WINDOWS
|
||||
|
||||
NdisFreeSpinLock(plock);
|
||||
|
||||
#endif
|
||||
|
||||
}
|
||||
#ifdef PLATFORM_FREEBSD
|
||||
extern PADAPTER prtw_lock;
|
||||
|
||||
@@ -1484,7 +1471,6 @@ void _rtw_init_queue(_queue *pqueue)
|
||||
|
||||
void _rtw_deinit_queue(_queue *pqueue)
|
||||
{
|
||||
_rtw_spinlock_free(&(pqueue->lock));
|
||||
}
|
||||
|
||||
u32 _rtw_queue_empty(_queue *pqueue)
|
||||
|
||||
Reference in New Issue
Block a user