diff --git a/core/usbh_core.c b/core/usbh_core.c index e2ed66af..cda801c3 100644 --- a/core/usbh_core.c +++ b/core/usbh_core.c @@ -699,7 +699,6 @@ int usbh_control_transfer(struct usbh_hubport *hport, struct usb_setup_packet *s usb_osal_mutex_take(hport->mutex); - memset(urb, 0, sizeof(struct usbh_urb)); usbh_control_urb_fill(urb, hport, setup, buffer, setup->wLength, CONFIG_USBHOST_CONTROL_TRANSFER_TIMEOUT, NULL, NULL); ret = usbh_submit_urb(urb); if (ret == 0) {