提交 7da02cdc 编写于 作者: J Johan Hovold 提交者: Greg Kroah-Hartman

USB: oti6858: remove dead code

Remove code that was apparently copied from pl2303, disabled and then
never used.
Signed-off-by: NJohan Hovold <jhovold@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 b58a6462
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册