diff options
author | Peter Chen <peter.chen@freescale.com> | 2014-05-22 20:12:48 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-22 22:35:01 -0400 |
commit | 2dbd633f3a5ec60cec1bb33b86513d768730681b (patch) | |
tree | d8f4fece31145f80e4a06288ae6d56ff0eef8cce /drivers/usb/chipidea/udc.c | |
parent | 58ce8499d3a3690c8b547a0b21ca9304083cfb67 (diff) |
usb: chipidea: udc: delete useless code
Delete useless code
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea/udc.c')
-rw-r--r-- | drivers/usb/chipidea/udc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c index 150592f10b3d..d8ab4c190aa5 100644 --- a/drivers/usb/chipidea/udc.c +++ b/drivers/usb/chipidea/udc.c | |||
@@ -823,7 +823,6 @@ __acquires(hwep->lock) | |||
823 | if ((setup->bRequestType & USB_RECIP_MASK) == USB_RECIP_DEVICE) { | 823 | if ((setup->bRequestType & USB_RECIP_MASK) == USB_RECIP_DEVICE) { |
824 | /* Assume that device is bus powered for now. */ | 824 | /* Assume that device is bus powered for now. */ |
825 | *(u16 *)req->buf = ci->remote_wakeup << 1; | 825 | *(u16 *)req->buf = ci->remote_wakeup << 1; |
826 | retval = 0; | ||
827 | } else if ((setup->bRequestType & USB_RECIP_MASK) \ | 826 | } else if ((setup->bRequestType & USB_RECIP_MASK) \ |
828 | == USB_RECIP_ENDPOINT) { | 827 | == USB_RECIP_ENDPOINT) { |
829 | dir = (le16_to_cpu(setup->wIndex) & USB_ENDPOINT_DIR_MASK) ? | 828 | dir = (le16_to_cpu(setup->wIndex) & USB_ENDPOINT_DIR_MASK) ? |