Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6804396f authored by Jiri Slaby's avatar Jiri Slaby Committed by Linus Torvalds
Browse files

Char: tty_ioctl, little whitespace cleanup



tty_ioctl, little whitespace cleanup

the point is to make
while (++i < n_baud_table);
clear and assign it to the do { } loop

Signed-off-by: default avatarJiri Slaby <jirislaby@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 5a52bd4a
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -261,8 +261,7 @@ void tty_termios_encode_baud_rate(struct ktermios *termios, speed_t ibaud, speed
				termios->c_cflag |= (baud_bits[i] << IBSHIFT);
			ifound = i;
		}
	}
	while(++i < n_baud_table);
	} while (++i < n_baud_table);
	if (ofound == -1)
		termios->c_cflag |= BOTHER;
	/* Set exact input bits only if the input and output differ or the