mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 14:33:05 +00:00
rtl8188eu: Remove CONFIG_USB_VENDOR_REQ_MUTEX
This symbol is always defined. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
f6fb81d6a0
commit
ad60073d21
6 changed files with 1 additions and 27 deletions
|
@ -226,10 +226,7 @@ static u8 rtw_init_intf_priv(struct dvobj_priv *dvobj)
|
|||
{
|
||||
u8 rst = _SUCCESS;
|
||||
|
||||
#ifdef CONFIG_USB_VENDOR_REQ_MUTEX
|
||||
_rtw_mutex_init(&dvobj->usb_vendor_req_mutex);
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef CONFIG_USB_VENDOR_REQ_BUFFER_PREALLOC
|
||||
dvobj->usb_alloc_vendor_req_buf = rtw_zmalloc(MAX_USB_IO_CTL_SIZE);
|
||||
|
@ -256,9 +253,7 @@ static u8 rtw_deinit_intf_priv(struct dvobj_priv *dvobj)
|
|||
rtw_mfree(dvobj->usb_alloc_vendor_req_buf, MAX_USB_IO_CTL_SIZE);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USB_VENDOR_REQ_MUTEX
|
||||
_rtw_mutex_free(&dvobj->usb_vendor_req_mutex);
|
||||
#endif
|
||||
|
||||
return rst;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue