summaryrefslogtreecommitdiffstats
path: root/drivers/tty/n_tty.c
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2013-09-17 12:53:36 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-25 18:05:36 -0700
commit103fcbe2eeb56d6ee693c573eac81e398fa276bd (patch)
treef3ba7217d9050360e0f397eecb40ad271a8cf2e3 /drivers/tty/n_tty.c
parentc786f74e0bcc457e85cc1eee551732afa60d6308 (diff)
downloadblackbird-obmc-linux-103fcbe2eeb56d6ee693c573eac81e398fa276bd.tar.gz
blackbird-obmc-linux-103fcbe2eeb56d6ee693c573eac81e398fa276bd.zip
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/n_tty.c')
-rw-r--r--drivers/tty/n_tty.c3
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)
* Fix tty hang when I_IXON(tty) is cleared, but the tty
* been stopped by STOP_CHAR(tty) before it.
*/
- if (!I_IXON(tty) && old && (old->c_iflag & IXON) && !tty->flow_stopped) {
+ if (!I_IXON(tty) && old && (old->c_iflag & IXON) && !tty->flow_stopped)
start_tty(tty);
- }
/* The termios change make the tty ready for I/O */
wake_up_interruptible(&tty->write_wait);
OpenPOWER on IntegriCloud