From: Johan Hovold Date: Thu, 18 Apr 2013 15:33:18 +0000 (+0200) Subject: USB: io_ti: remove redundant wait_until_sent X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a8ec374f96da361e7a31113b1e471065adf33d7c;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Greg Kroah-Hartman --- 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) 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);