video: cfb_console: simplify logical constraint
PATCH 1/1 video: cfb_console: simplify logical constraint
(A || !A && B) == (A || B)
Signed-off-by Heinrich Schuchardt <[email protected]>
--- drivers/video/cfb_console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/video/cfb_console.c +1 -1
@@ -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 ;
Signature · 1 line
2.16.2
PATCH 1/1 video: cfb_console: simplify logical constraint
Quoted 6 lines · On Sun, 18 Mar 2018 14:24:39 +0100 Heinrich Schuchardt xypron.glpk at gmx.de…
(A || !A && B) == (A || B)
Signed-off-by Heinrich Schuchardt <[email protected]>--- drivers/video/cfb_console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to u-boot-video/master, thanks!
--
Anatolij