diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2013-09-17 12:53:36 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-25 21:05:36 -0400 |
commit | 103fcbe2eeb56d6ee693c573eac81e398fa276bd (patch) | |
tree | f3ba7217d9050360e0f397eecb40ad271a8cf2e3 /drivers/tty | |
parent | c786f74e0bcc457e85cc1eee551732afa60d6308 (diff) |
n_tty: Style fix in n_tty_set_termios
Remove braces from single-statement conditional in
n_tty_set_termios.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/n_tty.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/tty/n_tty.c b/drivers/tty/n_tty.c index 5372bf0e74ab..2ba7bf86d096 100644 --- a/drivers/tty/n_tty.c +++ b/drivers/tty/n_tty.c | |||
@@ -1815,9 +1815,8 @@ static void n_tty_set_termios(struct tty_struct *tty, struct ktermios *old) | |||
1815 | * Fix tty hang when I_IXON(tty) is cleared, but the tty | 1815 | * Fix tty hang when I_IXON(tty) is cleared, but the tty |
1816 | * been stopped by STOP_CHAR(tty) before it. | 1816 | * been stopped by STOP_CHAR(tty) before it. |
1817 | */ | 1817 | */ |
1818 | if (!I_IXON(tty) && old && (old->c_iflag & IXON) && !tty->flow_stopped) { | 1818 | if (!I_IXON(tty) && old && (old->c_iflag & IXON) && !tty->flow_stopped) |
1819 | start_tty(tty); | 1819 | start_tty(tty); |
1820 | } | ||
1821 | 1820 | ||
1822 | /* The termios change make the tty ready for I/O */ | 1821 | /* The termios change make the tty ready for I/O */ |
1823 | wake_up_interruptible(&tty->write_wait); | 1822 | wake_up_interruptible(&tty->write_wait); |