video: cfb_console: simplify logical constraint
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 18 Mar 2018 13:24:39 +0000 (14:24 +0100)
committerAnatolij Gustschin <agust@denx.de>
Mon, 19 Mar 2018 08:35:57 +0000 (09:35 +0100)
commit41ec127016f39c9cec269ff3905ea5de1b09d0b0
treecea2c5f690c1b86d66252ef6bbc25566ca706c87
parentb8aa55cb6414e512cce30bb7db3268eea934466d
video: cfb_console: simplify logical constraint

(A || !A && B) == (A || B)

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
drivers/video/cfb_console.c