mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-06 21:43:06 +00:00
rtl8188eu: Remove wrapper around semaphore 'up'
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
545d963a9e
commit
609fff0d67
5 changed files with 6 additions and 12 deletions
|
@ -238,7 +238,7 @@ u32 rtw_enqueue_cmd(struct cmd_priv *pcmdpriv, struct cmd_obj *cmd_obj)
|
|||
res = _rtw_enqueue_cmd(&pcmdpriv->cmd_queue, cmd_obj);
|
||||
|
||||
if (res == _SUCCESS)
|
||||
_rtw_up_sema(&pcmdpriv->cmd_queue_sema);
|
||||
up(&pcmdpriv->cmd_queue_sema);
|
||||
|
||||
exit:
|
||||
|
||||
|
@ -258,7 +258,7 @@ void rtw_cmd_clr_isr(struct cmd_priv *pcmdpriv)
|
|||
{
|
||||
|
||||
pcmdpriv->cmd_done_cnt++;
|
||||
/* _rtw_up_sema(&(pcmdpriv->cmd_done_sema)); */
|
||||
/* up(&(pcmdpriv->cmd_done_sema)); */
|
||||
|
||||
}
|
||||
|
||||
|
@ -297,7 +297,7 @@ int rtw_cmd_thread(void *context)
|
|||
pcmdbuf = pcmdpriv->cmd_buf;
|
||||
|
||||
pcmdpriv->cmdthd_running = true;
|
||||
_rtw_up_sema(&pcmdpriv->terminate_cmdthread_sema);
|
||||
up(&pcmdpriv->terminate_cmdthread_sema);
|
||||
|
||||
RT_TRACE(_module_rtl871x_cmd_c_, _drv_info_, ("start r871x rtw_cmd_thread !!!!\n"));
|
||||
|
||||
|
@ -383,7 +383,7 @@ post_process:
|
|||
rtw_free_cmd_obj(pcmd);
|
||||
} while (1);
|
||||
|
||||
_rtw_up_sema(&pcmdpriv->terminate_cmdthread_sema);
|
||||
up(&pcmdpriv->terminate_cmdthread_sema);
|
||||
|
||||
thread_exit();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue