USB: pl2303: remove redundant line-request call

Remove redundant get_line_request (the read back settings are never
used).

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Johan Hovold 2013-12-29 19:23:04 +01:00 committed by Greg Kroah-Hartman
parent 383d19c587
commit 294bb2c617
1 changed files with 0 additions and 3 deletions

View File

@ -514,9 +514,6 @@ static void pl2303_set_termios(struct tty_struct *tty,
spin_unlock_irqrestore(&priv->lock, flags);
}
memset(buf, 0, 7);
pl2303_get_line_request(port, buf);
if (C_CRTSCTS(tty)) {
if (spriv->type == HX)
pl2303_vendor_write(serial, 0x0, 0x61);