diff options
author | Peter Chen <peter.chen@freescale.com> | 2014-05-23 08:12:48 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-23 11:35:01 +0900 |
commit | 2dbd633f3a5ec60cec1bb33b86513d768730681b (patch) | |
tree | d8f4fece31145f80e4a06288ae6d56ff0eef8cce /drivers/usb/chipidea | |
parent | 58ce8499d3a3690c8b547a0b21ca9304083cfb67 (diff) | |
download | blackbird-op-linux-2dbd633f3a5ec60cec1bb33b86513d768730681b.tar.gz blackbird-op-linux-2dbd633f3a5ec60cec1bb33b86513d768730681b.zip |
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')
-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) 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) ? |