瀏覽代碼

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>
Johan Hovold 11 年之前
父節點
當前提交
294bb2c617
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      drivers/usb/serial/pl2303.c

+ 0 - 3
drivers/usb/serial/pl2303.c

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