mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2026-03-31 22:49:56 +00:00
Remove wrappers for atomic operations
These wrappers were useful when this driver had the hooks for Windows, but are no longer needed. Link: https://lore.kernel.org/r/20210802192721.23110-4-Larry.Finger@lwfinger.net
This commit is contained in:
committed by
Carlos Garcés
parent
e8b235e056
commit
d7c3737cd5
@@ -2134,7 +2134,7 @@ struct dvobj_priv *devobj_init(void)
|
||||
|
||||
pdvobj->processing_dev_remove = _FALSE;
|
||||
|
||||
ATOMIC_SET(&pdvobj->disable_func, 0);
|
||||
atomic_set(&pdvobj->disable_func, 0);
|
||||
|
||||
rtw_macid_ctl_init(&pdvobj->macid_ctl);
|
||||
#ifdef CONFIG_CLIENT_PORT_CFG
|
||||
@@ -4273,7 +4273,7 @@ void rtw_dev_unload(PADAPTER padapter)
|
||||
{
|
||||
rtw_stop_drv_threads(padapter);
|
||||
|
||||
if (ATOMIC_READ(&(pcmdpriv->cmdthd_running)) == _TRUE) {
|
||||
if (atomic_read(&(pcmdpriv->cmdthd_running)) == _TRUE) {
|
||||
RTW_ERR("cmd_thread not stop !!\n");
|
||||
rtw_warn_on(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user