usb: dwc3: gadget: don't redefine 'ret'
authorFelipe Balbi <balbi@ti.com>
Thu, 13 Dec 2012 14:12:00 +0000 (16:12 +0200)
committerFelipe Balbi <balbi@ti.com>
Fri, 18 Jan 2013 08:11:36 +0000 (10:11 +0200)
we have an extra 'ret' variable shadowing a previous
definition. Remove it.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/gadget.c

index 2e43b332aae8b891a5d0e0988172791e4b7a1f88..0b92e982ac549c7468e84137cda502c0cbb9d6bf 100644 (file)
@@ -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