diff options
author | Felipe Balbi <balbi@ti.com> | 2012-12-13 14:12:00 (GMT) |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-01-18 08:11:36 (GMT) |
commit | 7dbdf4e4b37766a2389680c460b9dab278a5444c (patch) | |
tree | 798274e0001ce071165acbabab571dd072ceaee8 /drivers/usb/dwc3 | |
parent | 20b97dc18323938a92319abf031936b7d2686eaf (diff) | |
download | linux-fsl-qoriq-7dbdf4e4b37766a2389680c460b9dab278a5444c.tar.xz |
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')
-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 2e43b33..0b92e98 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 |