summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlexandru Gagniuc <[email protected]>2021-01-20 10:46:55 -0600
committerTom Rini <[email protected]>2021-02-17 19:46:43 -0500
commitaeedeae40733131467de72c68e639cf9d795e059 (patch)
tree48f696e4698cd89ba894a7cb804cc9448cbbdc15 /scripts
parent9e304239785dce3100303bf3dc211cf544247da0 (diff)
spl: fit: Replace #ifdef blocks with more readable constructs
Use the IS_ENABLED() macro to control code flow, instead of the caveman approach of sprinkling #ifdefs. Code size is not affected, as the linker garbage-collects unused functions. However, readability is improved significantly. Signed-off-by: Alexandru Gagniuc <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions