diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2014-09-02 17:39:11 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-08 16:21:35 -0700 |
commit | 99abf3b9242fbc5fec586223a5068544e0e9d90f (patch) | |
tree | 28ad02dbd05948ca7e4db9a0fc694007cd7152f4 | |
parent | a6eec92ec0815ce8ce57e4746e9f717d4146d869 (diff) | |
download | op-kernel-dev-99abf3b9242fbc5fec586223a5068544e0e9d90f.zip op-kernel-dev-99abf3b9242fbc5fec586223a5068544e0e9d90f.tar.gz |
serial: Style fix
Unwrap if() conditional; no functional change.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/tty/serial/serial_core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c index 2e57d5b..0742f77 100644 --- a/drivers/tty/serial/serial_core.c +++ b/drivers/tty/serial/serial_core.c @@ -1288,8 +1288,7 @@ static void uart_set_termios(struct tty_struct *tty, /* Handle transition away from B0 status */ else if (!(old_termios->c_cflag & CBAUD) && (cflag & CBAUD)) { unsigned int mask = TIOCM_DTR; - if (!(cflag & CRTSCTS) || - !test_bit(TTY_THROTTLED, &tty->flags)) + if (!(cflag & CRTSCTS) || !test_bit(TTY_THROTTLED, &tty->flags)) mask |= TIOCM_RTS; uart_set_mctrl(uport, mask); } |