usb: dwc3: gadget: drop unnecessary loop when cleaning up TRBs
authorFelipe Balbi <balbi@ti.com>
Thu, 4 Sep 2014 18:14:49 +0000 (13:14 -0500)
committerFelipe Balbi <balbi@ti.com>
Mon, 9 Mar 2015 15:38:49 +0000 (10:38 -0500)
commit8f2c9544aba636134303105ecb164190a39dece4
treefb595ad1844b23f48b6cd5dd938d19eff4a80f5f
parent3d0184d087573b7606de45a8e4f01b6222caa47a
usb: dwc3: gadget: drop unnecessary loop when cleaning up TRBs

Now that we're using XFERINPROGRESS for all endpoint
types (except Control), we will *always* be completing
one TRB at a time, so it's safe to remove the loop
from dwc3_cleanup_done_reqs.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/gadget.c