Minor cleanup, no functional changes.
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
list_for_each_entry_safe(req, n, &dep->started_list, list) {
unsigned length;
list_for_each_entry_safe(req, n, &dep->started_list, list) {
unsigned length;
length = req->request.length;
length = req->request.length;
- chain = req->num_pending_sgs > 0;
- if (chain)
+ if (req->num_pending_sgs)
ret = dwc3_gadget_ep_reclaim_trb_sg(dep, req, event,
status);
else
ret = dwc3_gadget_ep_reclaim_trb_sg(dep, req, event,
status);
else