projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b345c9
)
usb: dwc3: ep0: drop unnecessary variable
author
Felipe Balbi
<balbi@ti.com>
Thu, 19 Jul 2012 05:49:01 +0000
(08:49 +0300)
committer
Felipe Balbi
<balbi@ti.com>
Fri, 3 Aug 2012 06:28:23 +0000
(09:28 +0300)
When returning from ep0_queue, we have an
unnecessary ret variable which is always
zero. Remove it.
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/ep0.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/dwc3/ep0.c
b/drivers/usb/dwc3/ep0.c
index 9b94886b66e589ee3040556bf284985a01a64bc6..962fb9b5465b0fea4dcdd407a8aa46bb8853c8dc 100644
(file)
--- a/
drivers/usb/dwc3/ep0.c
+++ b/
drivers/usb/dwc3/ep0.c
@@
-125,7
+125,6
@@
static int __dwc3_gadget_ep0_queue(struct dwc3_ep *dep,
struct dwc3_request *req)
{
struct dwc3 *dwc = dep->dwc;
- int ret = 0;
req->request.actual = 0;
req->request.status = -EINPROGRESS;
@@
-165,7
+164,7
@@
static int __dwc3_gadget_ep0_queue(struct dwc3_ep *dep,
dev_dbg(dwc->dev, "too early for delayed status\n");
}
- return
ret
;
+ return
0
;
}
int dwc3_gadget_ep0_queue(struct usb_ep *ep, struct usb_request *request,
This page took
0.025691 seconds
and
5
git commands to generate.