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

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

USB: io_ti: remove redundant wait_until_sent



Remove redundant wait_until_sent, which has already been handled by the
tty-layer, from break_ctl.

Signed-off-by: default avatarJohan Hovold <jhovold@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b6fd35ee
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -2400,8 +2400,6 @@ static void edge_break(struct tty_struct *tty, int break_state)
	int status;
	int bv = 0;	/* Off */

	tty_wait_until_sent(tty, 0);

	if (break_state == -1)
		bv = 1;	/* On */
	status = ti_do_config(edge_port, UMPC_SET_CLR_BREAK, bv);