Explorar o código

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: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Johan Hovold %!s(int64=12) %!d(string=hai) anos
pai
achega
a8ec374f96
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      drivers/usb/serial/io_ti.c

+ 0 - 2
drivers/usb/serial/io_ti.c

@@ -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);