mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2026-04-03 08:00:08 +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
@@ -10129,12 +10129,9 @@ void rtw_wdev_free(struct wireless_dev *wdev)
|
||||
struct rtw_wdev_priv *wdev_priv = adapter_wdev_data(adapter);
|
||||
_irqL irqL;
|
||||
|
||||
_rtw_spinlock_free(&wdev_priv->scan_req_lock);
|
||||
|
||||
_enter_critical_bh(&wdev_priv->connect_req_lock, &irqL);
|
||||
rtw_wdev_free_connect_req(wdev_priv);
|
||||
_exit_critical_bh(&wdev_priv->connect_req_lock, &irqL);
|
||||
_rtw_spinlock_free(&wdev_priv->connect_req_lock);
|
||||
|
||||
_rtw_mutex_free(&wdev_priv->roch_mutex);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user