From: Felipe Balbi Date: Thu, 13 Dec 2012 14:12:00 +0000 (+0200) Subject: usb: dwc3: gadget: don't redefine 'ret' X-Git-Tag: firefly_0821_release~3680^2~1079^2~44^2~21 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7dbdf4e4b37766a2389680c460b9dab278a5444c;p=firefly-linux-kernel-4.4.55.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