USB: oti6858: remove dead code

Remove code that was apparently copied from pl2303, disabled and then
never used.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Johan Hovold 2011-11-10 14:58:31 +01:00 коммит произвёл Greg Kroah-Hartman
Родитель b58a64624c
Коммит 7da02cdcdf
1 изменённых файлов: 0 добавлений и 12 удалений

Просмотреть файл

@ -888,18 +888,6 @@ static void oti6858_read_bulk_callback(struct urb *urb)
spin_unlock_irqrestore(&priv->lock, flags);
if (status != 0) {
/*
if (status == -EPROTO) {
* PL2303 mysteriously fails with -EPROTO reschedule
the read *
dbg("%s - caught -EPROTO, resubmitting the urb",
__func__);
result = usb_submit_urb(urb, GFP_ATOMIC);
if (result)
dev_err(&urb->dev->dev, "%s - failed resubmitting read urb, error %d\n", __func__, result);
return;
}
*/
dbg("%s(): unable to handle the error, exiting", __func__);
return;
}