diff options
author | Johan Hovold <jhovold@gmail.com> | 2013-12-29 13:23:04 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-01-03 15:31:47 -0500 |
commit | 294bb2c6178da6334f54bd88aac7dca63fd89b06 (patch) | |
tree | 07501cdba61fee64edaad88534e9d23c011665e9 /drivers/usb/serial/pl2303.c | |
parent | 383d19c58729e34b3b94e47da20aa7fe4970a577 (diff) |
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>
Diffstat (limited to 'drivers/usb/serial/pl2303.c')
-rw-r--r-- | drivers/usb/serial/pl2303.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c index 28b10cfcb4d3..440b99c15435 100644 --- a/drivers/usb/serial/pl2303.c +++ b/drivers/usb/serial/pl2303.c | |||
@@ -514,9 +514,6 @@ static void pl2303_set_termios(struct tty_struct *tty, | |||
514 | spin_unlock_irqrestore(&priv->lock, flags); | 514 | spin_unlock_irqrestore(&priv->lock, flags); |
515 | } | 515 | } |
516 | 516 | ||
517 | memset(buf, 0, 7); | ||
518 | pl2303_get_line_request(port, buf); | ||
519 | |||
520 | if (C_CRTSCTS(tty)) { | 517 | if (C_CRTSCTS(tty)) { |
521 | if (spriv->type == HX) | 518 | if (spriv->type == HX) |
522 | pl2303_vendor_write(serial, 0x0, 0x61); | 519 | pl2303_vendor_write(serial, 0x0, 0x61); |