Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 294bb2c6 authored by Johan Hovold's avatar Johan Hovold Committed by Greg Kroah-Hartman
Browse files

USB: pl2303: remove redundant line-request call



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

Signed-off-by: default avatarJohan Hovold <jhovold@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 383d19c5
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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);