From: Johan Hovold Date: Sun, 29 Dec 2013 18:23:04 +0000 (+0100) Subject: USB: pl2303: remove redundant line-request call X-Git-Tag: v3.14-rc1~148^2~78 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=294bb2c6178da6334f54bd88aac7dca63fd89b06;p=linux.git USB: pl2303: remove redundant line-request call Remove redundant get_line_request (the read back settings are never used). Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- 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, 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);