mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-10 15:23: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
|
@ -771,7 +771,7 @@ void rtw_stop_drv_threads(struct adapter *padapter)
|
|||
RT_TRACE(_module_os_intfs_c_, _drv_info_, ("+rtw_stop_drv_threads\n"));
|
||||
|
||||
/* Below is to termindate rtw_cmd_thread & event_thread... */
|
||||
_rtw_up_sema(&padapter->cmdpriv.cmd_queue_sema);
|
||||
up(&padapter->cmdpriv.cmd_queue_sema);
|
||||
if (padapter->cmdThread)
|
||||
_rtw_down_sema(&padapter->cmdpriv.terminate_cmdthread_sema);
|
||||
|
||||
|
|
|
@ -164,11 +164,6 @@ void _rtw_free_sema(struct semaphore *sema)
|
|||
{
|
||||
}
|
||||
|
||||
void _rtw_up_sema(struct semaphore *sema)
|
||||
{
|
||||
up(sema);
|
||||
}
|
||||
|
||||
u32 _rtw_down_sema(struct semaphore *sema)
|
||||
{
|
||||
if (down_interruptible(sema))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue