diff options
author | Bart Westgeest <bart@elbrys.com> | 2012-01-23 15:55:47 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-09 17:42:23 (GMT) |
commit | 34c09578179f5838e5958c45e8aed4edc9c6c3b8 (patch) | |
tree | 74a3289e662f6b46ccb8266e43b192a6ec2ec083 /drivers/staging/usbip/stub_rx.c | |
parent | ac2b41acfa3efe4650102067a99251587a806d70 (diff) | |
download | linux-fsl-qoriq-34c09578179f5838e5958c45e8aed4edc9c6c3b8.tar.xz |
staging: usbip: removed #if 0'd out code
Signed-off-by: Bart Westgeest <bart@elbrys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/usbip/stub_rx.c')
-rw-r--r-- | drivers/staging/usbip/stub_rx.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/usbip/stub_rx.c b/drivers/staging/usbip/stub_rx.c index 27ac363..1d5b3fc 100644 --- a/drivers/staging/usbip/stub_rx.c +++ b/drivers/staging/usbip/stub_rx.c @@ -367,15 +367,6 @@ static int get_pipe(struct stub_device *sdev, int epnum, int dir) } epd = &ep->desc; -#if 0 - /* epnum 0 is always control */ - if (epnum == 0) { - if (dir == USBIP_DIR_OUT) - return usb_sndctrlpipe(udev, 0); - else - return usb_rcvctrlpipe(udev, 0); - } -#endif if (usb_endpoint_xfer_control(epd)) { if (dir == USBIP_DIR_OUT) return usb_sndctrlpipe(udev, epnum); |