mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 12:14:01 +08:00
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>
This commit is contained in:
parent
c786f74e0b
commit
103fcbe2ee
@ -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
|
* Fix tty hang when I_IXON(tty) is cleared, but the tty
|
||||||
* been stopped by STOP_CHAR(tty) before it.
|
* 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);
|
start_tty(tty);
|
||||||
}
|
|
||||||
|
|
||||||
/* The termios change make the tty ready for I/O */
|
/* The termios change make the tty ready for I/O */
|
||||||
wake_up_interruptible(&tty->write_wait);
|
wake_up_interruptible(&tty->write_wait);
|
||||||
|
Loading…
Reference in New Issue
Block a user