]> git.dujemihanovic.xyz Git - u-boot.git/commit
common: Replace #ifdef and #if with if's
authorNikhil M Jain <n-jain1@ti.com>
Thu, 20 Apr 2023 12:11:12 +0000 (17:41 +0530)
committerAnatolij Gustschin <agust@denx.de>
Mon, 24 Apr 2023 19:37:45 +0000 (21:37 +0200)
commit9eeb1a299d40a4587d5b3c2b87ae8022998cf766
tree4c2fa3efe6bf04365faae3cc0f2a5de4ea0a6633
parent53ae978af51df7926ffa2e2cd0ab2b5196a66ec8
common: Replace #ifdef and #if with if's

Avoid using preprocessor compilation directives and instead use simple
logical expressions for better readability since compiler will anyway
optimize out the respective code block if condition is not satisfied.

Signed-off-by: Nikhil M Jain <n-jain1@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Devarsh Thakkar <devarsht@ti.com>
common/bmp.c
common/splash.c
include/splash.h