aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2013-04-18 11:33:22 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-04-19 13:24:14 -0400
commitc0419024332a73f299bdd7a6875a00cf3942a054 (patch)
tree3f982570fef2a4fad26eba393c32461de983d141 /drivers/usb
parent2c992cd73772bd0ef107536e8e3399d28493caa8 (diff)
USB: ti_usb_3410_5052: remove redundant drain from break_ctl
Remove redundant drain, 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>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/serial/ti_usb_3410_5052.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/serial/ti_usb_3410_5052.c b/drivers/usb/serial/ti_usb_3410_5052.c
index 062b6d872ea3..6a40823e85c4 100644
--- a/drivers/usb/serial/ti_usb_3410_5052.c
+++ b/drivers/usb/serial/ti_usb_3410_5052.c
@@ -976,8 +976,6 @@ static void ti_break(struct tty_struct *tty, int break_state)
976 if (tport == NULL) 976 if (tport == NULL)
977 return; 977 return;
978 978
979 ti_drain(tport, (tport->tp_closing_wait*HZ)/100);
980
981 status = ti_write_byte(port, tport->tp_tdev, 979 status = ti_write_byte(port, tport->tp_tdev,
982 tport->tp_uart_base_addr + TI_UART_OFFSET_LCR, 980 tport->tp_uart_base_addr + TI_UART_OFFSET_LCR,
983 TI_LCR_BREAK, break_state == -1 ? TI_LCR_BREAK : 0); 981 TI_LCR_BREAK, break_state == -1 ? TI_LCR_BREAK : 0);