summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/core.h
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@linux.intel.com>2018-08-01 13:56:50 +0300
committerFelipe Balbi <felipe.balbi@linux.intel.com>2018-11-26 09:08:30 +0200
commitfec9095bdef4e7c988adb603d0d4f92ee735d4a1 (patch)
tree6d8d34efecb5f29711f7fb7416cd43c94c2666d0 /drivers/usb/dwc3/core.h
parentd4f1afe5e896c18ae01099a85dab5e1a198bd2a8 (diff)
downloadlinux-fec9095bdef4e7c988adb603d0d4f92ee735d4a1.tar.gz
linux-fec9095bdef4e7c988adb603d0d4f92ee735d4a1.tar.bz2
linux-fec9095bdef4e7c988adb603d0d4f92ee735d4a1.zip
usb: dwc3: gadget: remove wait_end_transfer
Now that we have a list of cancelled requests, we can skip over TRBs when END_TRANSFER command completes. Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3/core.h')
-rw-r--r--drivers/usb/dwc3/core.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h
index 9798c73c09ce..58f4aa5e3443 100644
--- a/drivers/usb/dwc3/core.h
+++ b/drivers/usb/dwc3/core.h
@@ -649,7 +649,6 @@ struct dwc3_event_buffer {
* @cancelled_list: list of cancelled requests for this endpoint
* @pending_list: list of pending requests for this endpoint
* @started_list: list of started requests on this endpoint
- * @wait_end_transfer: wait_queue_head_t for waiting on End Transfer complete
* @lock: spinlock for endpoint request queue traversal
* @regs: pointer to first endpoint register
* @trb_pool: array of transaction buffers
@@ -678,8 +677,6 @@ struct dwc3_ep {
struct list_head pending_list;
struct list_head started_list;
- wait_queue_head_t wait_end_transfer;
-
spinlock_t lock;
void __iomem *regs;