commit | cb940c7ede85994847c80f4300f2f7eac6e94c48 | [log] [tgz] |
---|---|---|
author | Richard Genoud <richard.genoud@gmail.com> | Thu Dec 13 03:30:10 2012 +0000 |
committer | Tom Rini <trini@ti.com> | Mon Feb 04 09:05:47 2013 -0500 |
tree | 356a86c002501b057f37729eec41525d230ab7cb | |
parent | fb7e16cc1c1f5d5bb212118b89218b2e706226b2 [diff] |
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: Richard Genoud <richard.genoud@gmail.com>