summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/gadget.c
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@linux.intel.com>2016-10-06 10:55:15 +0300
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-11-03 10:38:31 +0200
commitb9bd138e06b931a4f668776fbf6d82e5ec8417b5 (patch)
treee1177837366c2a0f1a324e1f701fc2d7b916f65b /drivers/usb/dwc3/gadget.c
parent39e07ffb1c3d65c207c69cd7f65766c8e7721eeb (diff)
downloadtalos-op-linux-b9bd138e06b931a4f668776fbf6d82e5ec8417b5.tar.gz
talos-op-linux-b9bd138e06b931a4f668776fbf6d82e5ec8417b5.zip
usb: dwc3: gadget: remove unused 'first_trb_index'
Recent changes have turned this field obsolete. Remove it. Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3/gadget.c')
-rw-r--r--drivers/usb/dwc3/gadget.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
index 45a3325ff5b1..2dfcbecec25c 100644
--- a/drivers/usb/dwc3/gadget.c
+++ b/drivers/usb/dwc3/gadget.c
@@ -832,7 +832,6 @@ static void dwc3_prepare_one_trb(struct dwc3_ep *dep,
dwc3_gadget_move_started_request(req);
req->trb = trb;
req->trb_dma = dwc3_trb_dma_offset(dep, trb);
- req->first_trb_index = dep->trb_enqueue;
dep->queued_requests++;
}
OpenPOWER on IntegriCloud