diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2007-07-16 02:41:49 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 12:05:52 -0400 |
commit | 7e7d136e9e083f04b859411248c699cbb89e418d (patch) | |
tree | 5a33558da1e1b8bb19b9174ed79dd010abda1334 /drivers/char/cyclades.c | |
parent | d471d340ef9543a1e2f70f99c21ee2c770e7b17c (diff) |
serial: remove termios checks from various old char serial drivers
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/cyclades.c')
-rw-r--r-- | drivers/char/cyclades.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/char/cyclades.c b/drivers/char/cyclades.c index ca376b92162c..e04005b5f8a6 100644 --- a/drivers/char/cyclades.c +++ b/drivers/char/cyclades.c | |||
@@ -4127,10 +4127,6 @@ static void cy_set_termios(struct tty_struct *tty, struct ktermios *old_termios) | |||
4127 | printk(KERN_DEBUG "cyc:cy_set_termios ttyC%d\n", info->line); | 4127 | printk(KERN_DEBUG "cyc:cy_set_termios ttyC%d\n", info->line); |
4128 | #endif | 4128 | #endif |
4129 | 4129 | ||
4130 | if (tty->termios->c_cflag == old_termios->c_cflag && | ||
4131 | (tty->termios->c_iflag & (IXON | IXANY)) == | ||
4132 | (old_termios->c_iflag & (IXON | IXANY))) | ||
4133 | return; | ||
4134 | set_line_char(info); | 4130 | set_line_char(info); |
4135 | 4131 | ||
4136 | if ((old_termios->c_cflag & CRTSCTS) && | 4132 | if ((old_termios->c_cflag & CRTSCTS) && |