diff options
| -rw-r--r-- | port/dwc2/usb_hc_dwc2.c | 1 | ||||
| -rw-r--r-- | port/ehci/usb_hc_ehci.c | 1 | ||||
| -rw-r--r-- | port/musb/usb_hc_musb.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/port/dwc2/usb_hc_dwc2.c b/port/dwc2/usb_hc_dwc2.c index 9f8d18a3..59cd0c93 100644 --- a/port/dwc2/usb_hc_dwc2.c +++ b/port/dwc2/usb_hc_dwc2.c @@ -811,7 +811,6 @@ int usbh_kill_urb(struct usbh_urb *urb) urb->errorcode = -USB_ERR_SHUTDOWN; if (urb->timeout) { - urb->timeout = 0; usb_osal_sem_give(chan->waitsem); } else { dwc2_chan_free(chan); diff --git a/port/ehci/usb_hc_ehci.c b/port/ehci/usb_hc_ehci.c index b40625da..d93fefcf 100644 --- a/port/ehci/usb_hc_ehci.c +++ b/port/ehci/usb_hc_ehci.c @@ -1258,7 +1258,6 @@ int usbh_kill_urb(struct usbh_urb *urb) qh->urb = NULL; if (urb->timeout) { - urb->timeout = 0; usb_osal_sem_give(qh->waitsem); } else { ehci_qh_free(bus, qh); diff --git a/port/musb/usb_hc_musb.c b/port/musb/usb_hc_musb.c index ed74d9c3..ef700fbf 100644 --- a/port/musb/usb_hc_musb.c +++ b/port/musb/usb_hc_musb.c @@ -705,7 +705,6 @@ int usbh_kill_urb(struct usbh_urb *urb) pipe->urb = NULL; if (urb->timeout) { - urb->timeout = 0; usb_osal_sem_give(pipe->waitsem); } else { musb_pipe_free(pipe); |
