Skip to content
Snippets Groups Projects
Commit cb940c7e authored by Richard Genoud's avatar Richard Genoud Committed by Tom Rini
Browse files

FAT: remove ifdefs to make the code more readable


ifdefs in the code are making it harder to read.
The use of simple if(vfat_enabled) makes no more code and is cleaner.
(the code is discarded by the compiler instead of the preprocessor.)
NB: if -O0 is used, the code won't be discarded

and bonus, now the code compiles even if CONFIG_SUPPORT_VFAT is not
defined.

Signed-off-by: default avatarRichard Genoud <richard.genoud@gmail.com>
parent fb7e16cc
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment