mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 08:34:20 +00:00
rtl8188eu: Remove wrapper around init_sema()
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
61690cbca6
commit
890e54b7a7
7 changed files with 9 additions and 15 deletions
|
@ -99,7 +99,7 @@ struct reportpwrstate_parm {
|
|||
|
||||
static inline void _init_pwrlock(struct semaphore *plock)
|
||||
{
|
||||
_rtw_init_sema(plock, 1);
|
||||
sema_init(plock, 1);
|
||||
}
|
||||
|
||||
static inline void _free_pwrlock(struct semaphore *plock)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue