Code is just as readable without it.
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
struct dwc3_request *tmp;
list_for_each_entry_safe(req, tmp, &dep->started_list, list) {
- unsigned length;
int ret;
- length = req->request.length;
if (req->num_pending_sgs)
ret = dwc3_gadget_ep_reclaim_trb_sg(dep, req, event,
status);
req->zero = false;
}
- req->request.actual = length - req->remaining;
+ req->request.actual = req->request.length - req->remaining;
if (!dwc3_gadget_ep_request_completed(req) ||
req->num_pending_sgs) {