diff options
author | Amit Virdi <amit.virdi@st.com> | 2014-12-19 02:10:18 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-01-12 13:13:24 -0500 |
commit | 3cd0e29d5e28331dc78416bf7acd4e7cb63664aa (patch) | |
tree | 6fba6e99ef4b0bcddeccfcd51b34c5327869be2f | |
parent | 110381e11b5fbf84bc0994d4c3f4629bc362ab4c (diff) |
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>
-rw-r--r-- | drivers/usb/dwc3/core.h | 3 |
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 { | |||
431 | * @dwc: pointer to DWC controller | 431 | * @dwc: pointer to DWC controller |
432 | * @saved_state: ep state saved during hibernation | 432 | * @saved_state: ep state saved during hibernation |
433 | * @flags: endpoint flags (wedged, stalled, ...) | 433 | * @flags: endpoint flags (wedged, stalled, ...) |
434 | * @current_trb: index of current used trb | ||
435 | * @number: endpoint number (1 - 15) | 434 | * @number: endpoint number (1 - 15) |
436 | * @type: set to bmAttributes & USB_ENDPOINT_XFERTYPE_MASK | 435 | * @type: set to bmAttributes & USB_ENDPOINT_XFERTYPE_MASK |
437 | * @resource_index: Resource transfer index | 436 | * @resource_index: Resource transfer index |
@@ -464,8 +463,6 @@ struct dwc3_ep { | |||
464 | /* This last one is specific to EP0 */ | 463 | /* This last one is specific to EP0 */ |
465 | #define DWC3_EP0_DIR_IN (1 << 31) | 464 | #define DWC3_EP0_DIR_IN (1 << 31) |
466 | 465 | ||
467 | unsigned current_trb; | ||
468 | |||
469 | u8 number; | 466 | u8 number; |
470 | u8 type; | 467 | u8 type; |
471 | u8 resource_index; | 468 | u8 resource_index; |