diff options
author | Richard Genoud <richard.genoud@gmail.com> | 2012-12-13 03:30:10 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-02-04 14:05:47 (GMT) |
commit | cb940c7ede85994847c80f4300f2f7eac6e94c48 (patch) | |
tree | 356a86c002501b057f37729eec41525d230ab7cb /fs/yaffs2 | |
parent | fb7e16cc1c1f5d5bb212118b89218b2e706226b2 (diff) | |
download | u-boot-fsl-qoriq-cb940c7ede85994847c80f4300f2f7eac6e94c48.tar.xz |
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>
Diffstat (limited to 'fs/yaffs2')
0 files changed, 0 insertions, 0 deletions