diff options
author | Felipe Balbi <balbi@ti.com> | 2012-12-13 15:12:00 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-01-18 09:11:36 +0100 |
commit | 7dbdf4e4b37766a2389680c460b9dab278a5444c (patch) | |
tree | 798274e0001ce071165acbabab571dd072ceaee8 /drivers/usb/dwc3/gadget.c | |
parent | usb: dwc3: exynos: use devm_ functions (diff) | |
download | linux-7dbdf4e4b37766a2389680c460b9dab278a5444c.tar.xz linux-7dbdf4e4b37766a2389680c460b9dab278a5444c.zip |
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>
Diffstat (limited to 'drivers/usb/dwc3/gadget.c')
-rw-r--r-- | drivers/usb/dwc3/gadget.c | 2 |
1 files changed, 0 insertions, 2 deletions
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 |