Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf35fc33 authored by Felipe Balbi's avatar Felipe Balbi
Browse files

usb: dwc3: gadget: remove unnecessary 'chain' variable



Minor cleanup, no functional changes.

Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent 02159596
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -2319,11 +2319,9 @@ static void dwc3_gadget_ep_cleanup_completed_requests(struct dwc3_ep *dep,

	list_for_each_entry_safe(req, n, &dep->started_list, list) {
		unsigned length;
		int chain;

		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