aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/i4l
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2013-03-07 07:12:34 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-18 19:24:30 -0400
commitee7970690568b0c875467f475d9c957ec0d9e099 (patch)
treecc24352913013c5e574d055d3c52a8f778150194 /drivers/isdn/i4l
parent4d29994ddb4cc97e19a533834df2e0fdb1c1d8a8 (diff)
TTY: cleanup tty->hw_stopped uses
tty->hw_stopped is set only by drivers to remember HW state. If it is never set to 1 in a particular driver, there is no need to check it in the driver at all. Remove such checks. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/isdn/i4l')
-rw-r--r--drivers/isdn/i4l/isdn_tty.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/isdn/i4l/isdn_tty.c b/drivers/isdn/i4l/isdn_tty.c
index d8a7d8323414..221076628585 100644
--- a/drivers/isdn/i4l/isdn_tty.c
+++ b/drivers/isdn/i4l/isdn_tty.c
@@ -1470,9 +1470,6 @@ isdn_tty_set_termios(struct tty_struct *tty, struct ktermios *old_termios)
1470 tty->termios.c_ospeed == old_termios->c_ospeed) 1470 tty->termios.c_ospeed == old_termios->c_ospeed)
1471 return; 1471 return;
1472 isdn_tty_change_speed(info); 1472 isdn_tty_change_speed(info);
1473 if ((old_termios->c_cflag & CRTSCTS) &&
1474 !(tty->termios.c_cflag & CRTSCTS))
1475 tty->hw_stopped = 0;
1476 } 1473 }
1477} 1474}
1478 1475