From: Felipe Balbi Date: Thu, 13 Dec 2012 14:12:00 +0000 (+0200) Subject: usb: dwc3: gadget: don't redefine 'ret' X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7dbdf4e4b37766a2389680c460b9dab278a5444c;p=openwrt%2Fstaging%2Fblogic.git usb: dwc3: gadget: don't redefine 'ret' we have an extra 'ret' variable shadowing a previous definition. Remove it. Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index 2e43b332aae8..0b92e982ac54 100644 --- a/drivers/usb/dwc3/gadget.c +++ b/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) { - int ret; - /* * If xfernotready is already elapsed and it is a case * of isoc transfer, then issue END TRANSFER, so that