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

Commit 7dbdf4e4 authored by Felipe Balbi's avatar Felipe Balbi
Browse files

usb: dwc3: gadget: don't redefine 'ret'



we have an extra 'ret' variable shadowing a previous
definition. Remove it.

Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 20b97dc1
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1082,8 +1082,6 @@ static int __dwc3_gadget_ep_queue(struct dwc3_ep *dep, struct dwc3_request *req)
	 *
	 */
	if (dep->flags & DWC3_EP_PENDING_REQUEST) {
		int	ret;

		/*
		 * If xfernotready is already elapsed and it is a case
		 * of isoc transfer, then issue END TRANSFER, so that