diff options
author | Felipe Balbi <felipe.balbi@linux.intel.com> | 2019-01-11 13:03:27 +0200 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2019-01-28 12:53:15 +0200 |
commit | 7c3d7dc89e57a1d43acea935882dd8713c9e639f (patch) | |
tree | e1a913202e64eb2141a0c2d5ebea5cf8ce73f9d0 /drivers/usb/dwc3/gadget.c | |
parent | b2b6d601365a1acb90b87c85197d797447bc9a2c (diff) | |
download | linux-7c3d7dc89e57a1d43acea935882dd8713c9e639f.tar.gz linux-7c3d7dc89e57a1d43acea935882dd8713c9e639f.tar.bz2 linux-7c3d7dc89e57a1d43acea935882dd8713c9e639f.zip |
usb: dwc3: gadget: remove req->started flag
Now that we have req->status, we don't need this extra flag
anymore. It's safe to 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.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index 064d5161c483..189605df6bd2 100644 --- a/drivers/usb/dwc3/gadget.c +++ b/drivers/usb/dwc3/gadget.c @@ -174,7 +174,6 @@ static void dwc3_gadget_del_and_unmap_request(struct dwc3_ep *dep, { struct dwc3 *dwc = dep->dwc; - req->started = false; list_del(&req->list); req->remaining = 0; req->needs_extra_trb = false; |