commit | 4bd4c315f9647dcd40a1ff6aaf4ec26ba42cf4a2 | [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 | 1ff64a2b516036ff5449a5ca670d115cf13d5481 [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>