commit | 9eeb1a299d40a4587d5b3c2b87ae8022998cf766 | [log] [tgz] |
---|---|---|
author | Nikhil M Jain <n-jain1@ti.com> | Thu Apr 20 17:41:12 2023 +0530 |
committer | Anatolij Gustschin <agust@denx.de> | Mon Apr 24 21:37:45 2023 +0200 |
tree | 4c2fa3efe6bf04365faae3cc0f2a5de4ea0a6633 | |
parent | 53ae978af51df7926ffa2e2cd0ab2b5196a66ec8 [diff] |
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>