projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20b97dc
)
usb: dwc3: gadget: don't redefine 'ret'
author
Felipe Balbi
<balbi@ti.com>
Thu, 13 Dec 2012 14:12:00 +0000
(16:12 +0200)
committer
Felipe 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/dwc3/gadget.c
b/drivers/usb/dwc3/gadget.c
index 2e43b332aae8b891a5d0e0988172791e4b7a1f88..0b92e982ac549c7468e84137cda502c0cbb9d6bf 100644
(file)
--- 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