commit | a43f41f4b1c4e2c22d7c828305dd6763acd74552 | [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 | 2e3720294dc1c5a184a7920cd54495f543028aed [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>