commit | d6ef669b21920972c3ff2c19e792998dbc69ab71 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sun Mar 18 14:24:39 2018 +0100 |
committer | Anatolij Gustschin <agust@denx.de> | Mon Mar 19 09:35:57 2018 +0100 |
tree | cea2c5f690c1b86d66252ef6bbc25566ca706c87 | |
parent | 18c50647a5ba46dd60f8b123de814a920f324642 [diff] |
video: cfb_console: simplify logical constraint (A || !A && B) == (A || B) Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
diff --git a/drivers/video/cfb_console.c b/drivers/video/cfb_console.c index 0b25897..5b7795d 100644 --- a/drivers/video/cfb_console.c +++ b/drivers/video/cfb_console.c
@@ -768,7 +768,7 @@ break; case '\n': /* next line */ - if (console_col || (!console_col && nl)) + if (console_col || nl) console_newline(1); nl = 1; break;