summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/core.h
diff options
context:
space:
mode:
authorAmit Virdi <amit.virdi@st.com>2014-12-19 12:40:18 +0530
committerFelipe Balbi <balbi@ti.com>2015-01-12 12:13:24 -0600
commit3cd0e29d5e28331dc78416bf7acd4e7cb63664aa (patch)
tree6fba6e99ef4b0bcddeccfcd51b34c5327869be2f /drivers/usb/dwc3/core.h
parent110381e11b5fbf84bc0994d4c3f4629bc362ab4c (diff)
downloadblackbird-op-linux-3cd0e29d5e28331dc78416bf7acd4e7cb63664aa.tar.gz
blackbird-op-linux-3cd0e29d5e28331dc78416bf7acd4e7cb63664aa.zip
usb: dwc3: Remove current_trb as it is unused
This field was introduced but never used. So, remove it. Signed-off-by: Amit Virdi <amit.virdi@st.com> Signed-off-by: Felipe Balbi <balbi@ti.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 4bb9aa696ede..0842aa80976f 100644
--- a/drivers/usb/dwc3/core.h
+++ b/drivers/usb/dwc3/core.h
@@ -431,7 +431,6 @@ struct dwc3_event_buffer {
* @dwc: pointer to DWC controller
* @saved_state: ep state saved during hibernation
* @flags: endpoint flags (wedged, stalled, ...)
- * @current_trb: index of current used trb
* @number: endpoint number (1 - 15)
* @type: set to bmAttributes & USB_ENDPOINT_XFERTYPE_MASK
* @resource_index: Resource transfer index
@@ -464,8 +463,6 @@ struct dwc3_ep {
/* This last one is specific to EP0 */
#define DWC3_EP0_DIR_IN (1 << 31)
- unsigned current_trb;
-
u8 number;
u8 type;
u8 resource_index;
OpenPOWER on IntegriCloud