mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 22:51:37 +00:00
video: cfb_console: simplify logical constraint
(A || !A && B) == (A || B) Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
b8aa55cb64
commit
41ec127016
1 changed files with 1 additions and 1 deletions
|
@ -768,7 +768,7 @@ static void parse_putc(const char c)
|
|||
break;
|
||||
|
||||
case '\n': /* next line */
|
||||
if (console_col || (!console_col && nl))
|
||||
if (console_col || nl)
|
||||
console_newline(1);
|
||||
nl = 1;
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue