projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a6319f
)
usb: chipidea: udc: remove unused value assignment
author
Li Jun
<jun.li@nxp.com>
Thu, 21 Jan 2016 07:39:14 +0000
(15:39 +0800)
committer
Peter Chen
<peter.chen@nxp.com>
Mon, 29 Feb 2016 05:37:50 +0000
(13:37 +0800)
retval is assigned to be -EOVERFLOW but is overwritten later before
it's used, remove this unused value assignment.
Signed-off-by: Li Jun <jun.li@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
drivers/usb/chipidea/udc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/chipidea/udc.c
b/drivers/usb/chipidea/udc.c
index 3eafa2c9a2ba4a2fe742cce8a6ef7e0e03d14b37..00250ab38ddb21ae1106568b68ac968ecc7e9ddf 100644
(file)
--- a/
drivers/usb/chipidea/udc.c
+++ b/
drivers/usb/chipidea/udc.c
@@
-819,7
+819,6
@@
static int _ep_queue(struct usb_ep *ep, struct usb_request *req,
ci->ep0out : ci->ep0in;
if (!list_empty(&hwep->qh.queue)) {
_ep_nuke(hwep);
- retval = -EOVERFLOW;
dev_warn(hwep->ci->dev, "endpoint ctrl %X nuked\n",
_usb_addr(hwep));
}