瀏覽代碼

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

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

Signed-off-by: Felipe Balbi <balbi@ti.com>
Felipe Balbi 12 年之前
父節點
當前提交
7dbdf4e4b3
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      drivers/usb/dwc3/gadget.c

+ 0 - 2
drivers/usb/dwc3/gadget.c

@@ -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) {
 	if (dep->flags & DWC3_EP_PENDING_REQUEST) {
-		int	ret;
-
 		/*
 		/*
 		 * If xfernotready is already elapsed and it is a case
 		 * If xfernotready is already elapsed and it is a case
 		 * of isoc transfer, then issue END TRANSFER, so that
 		 * of isoc transfer, then issue END TRANSFER, so that