projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58ce849
)
usb: chipidea: udc: delete useless code
author
Peter Chen
<peter.chen@freescale.com>
Fri, 23 May 2014 00:12:48 +0000
(08:12 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 23 May 2014 02:35:01 +0000
(11:35 +0900)
Delete useless code
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/udc.c
patch
|
blob
|
history
diff --git
a/drivers/usb/chipidea/udc.c
b/drivers/usb/chipidea/udc.c
index 150592f10b3d5bbc0ae8f202bceb10793c7f7d25..d8ab4c190aa5b5f6e83bf1c0b22ae3ba21c18b53 100644
(file)
--- a/
drivers/usb/chipidea/udc.c
+++ b/
drivers/usb/chipidea/udc.c
@@
-823,7
+823,6
@@
__acquires(hwep->lock)
if ((setup->bRequestType & USB_RECIP_MASK) == USB_RECIP_DEVICE) {
/* Assume that device is bus powered for now. */
*(u16 *)req->buf = ci->remote_wakeup << 1;
- retval = 0;
} else if ((setup->bRequestType & USB_RECIP_MASK) \
== USB_RECIP_ENDPOINT) {
dir = (le16_to_cpu(setup->wIndex) & USB_ENDPOINT_DIR_MASK) ?