From: Peter Hurley Date: Tue, 2 Sep 2014 21:39:11 +0000 (-0400) Subject: serial: Style fix X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=99abf3b9242fbc5fec586223a5068544e0e9d90f;p=linux-beck.git serial: Style fix Unwrap if() conditional; no functional change. Signed-off-by: Peter Hurley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c index 2e57d5b6347d..0742f77ac410 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); }