mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-22 16:14:20 +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
|
@ -268,7 +268,6 @@ void rtw_list_delete(struct list_head *plist);
|
|||
|
||||
void _rtw_init_sema(struct semaphore *sema, int init_val);
|
||||
void _rtw_free_sema(struct semaphore *sema);
|
||||
void _rtw_up_sema(struct semaphore *sema);
|
||||
u32 _rtw_down_sema(struct semaphore *sema);
|
||||
void _rtw_mutex_init(struct mutex *pmutex);
|
||||
void _rtw_mutex_free(struct mutex *pmutex);
|
||||
|
|
|
@ -114,7 +114,7 @@ static inline void _enter_pwrlock(struct semaphore *plock)
|
|||
|
||||
static inline void _exit_pwrlock(struct semaphore *plock)
|
||||
{
|
||||
_rtw_up_sema(plock);
|
||||
up(plock);
|
||||
}
|
||||
|
||||
#define LPS_DELAY_TIME 1*HZ /* 1 sec */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue