rtl8188eu: Remove wrapper around init_sema()

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2014-12-13 15:25:08 -06:00
parent 61690cbca6
commit 890e54b7a7
7 changed files with 9 additions and 15 deletions

View file

@ -250,7 +250,6 @@ void _rtw_mfree(u8 *pbuf, u32 sz);
void *rtw_malloc2d(int h, int w, int size);
void rtw_mfree2d(void *pbuf, int h, int w, int size);
void _rtw_init_sema(struct semaphore *sema, int init_val);
void _rtw_free_sema(struct semaphore *sema);
u32 _rtw_down_sema(struct semaphore *sema);
void _rtw_mutex_init(struct mutex *pmutex);

View file

@ -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)