mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-10 15:23:06 +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
|
@ -122,11 +122,6 @@ Otherwise, there will be racing condition.
|
|||
Caller must check if the list is empty before calling rtw_list_delete
|
||||
*/
|
||||
|
||||
void _rtw_init_sema(struct semaphore *sema, int init_val)
|
||||
{
|
||||
sema_init(sema, init_val);
|
||||
}
|
||||
|
||||
void _rtw_free_sema(struct semaphore *sema)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -219,7 +219,7 @@ static struct dvobj_priv *usb_dvobj_init(struct usb_interface *usb_intf)
|
|||
}
|
||||
|
||||
/* 3 misc */
|
||||
_rtw_init_sema(&(pdvobjpriv->usb_suspend_sema), 0);
|
||||
sema_init(&(pdvobjpriv->usb_suspend_sema), 0);
|
||||
rtw_reset_continual_urb_error(pdvobjpriv);
|
||||
|
||||
usb_get_dev(pusbd);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue