aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2013-04-18 11:33:18 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-04-19 13:24:13 -0400
commita8ec374f96da361e7a31113b1e471065adf33d7c (patch)
treeedc42b4f0a609452ba126aa1c5576451abae1e87
parentb6fd35ee5766143d6bc3c333edf374c336ebdca6 (diff)
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>
-rw-r--r--drivers/usb/serial/io_ti.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/serial/io_ti.c b/drivers/usb/serial/io_ti.c
index ab979a2e6953..158bf4bc29cc 100644
--- a/drivers/usb/serial/io_ti.c
+++ b/drivers/usb/serial/io_ti.c
@@ -2400,8 +2400,6 @@ static void edge_break(struct tty_struct *tty, int break_state)
2400 int status; 2400 int status;
2401 int bv = 0; /* Off */ 2401 int bv = 0; /* Off */
2402 2402
2403 tty_wait_until_sent(tty, 0);
2404
2405 if (break_state == -1) 2403 if (break_state == -1)
2406 bv = 1; /* On */ 2404 bv = 1; /* On */
2407 status = ti_do_config(edge_port, UMPC_SET_CLR_BREAK, bv); 2405 status = ti_do_config(edge_port, UMPC_SET_CLR_BREAK, bv);