n_tty: Style fix in n_tty_set_termios
[firefly-linux-kernel-4.4.55.git] / drivers / tty / n_tty.c
index 5372bf0e74ab17a1c29c907e08289c16fe5ca3e2..2ba7bf86d0968cbfffa8dd6b7a7d556355d9e009 100644 (file)
@@ -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);