Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Peter Chen and committed by
Greg Kroah-Hartman
2dbd633f 58ce8499

-1
-1
drivers/usb/chipidea/udc.c
··· 823 823 if ((setup->bRequestType & USB_RECIP_MASK) == USB_RECIP_DEVICE) { 824 824 /* Assume that device is bus powered for now. */ 825 825 *(u16 *)req->buf = ci->remote_wakeup << 1; 826 - retval = 0; 827 826 } else if ((setup->bRequestType & USB_RECIP_MASK) \ 828 827 == USB_RECIP_ENDPOINT) { 829 828 dir = (le16_to_cpu(setup->wIndex) & USB_ENDPOINT_DIR_MASK) ?