diff options
author | Richard Genoud <richard.genoud@gmail.com> | 2012-12-13 03:30:10 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-02-04 09:05:47 -0500 |
commit | cb940c7ede85994847c80f4300f2f7eac6e94c48 (patch) | |
tree | 356a86c002501b057f37729eec41525d230ab7cb /net/arp.h | |
parent | fb7e16cc1c1f5d5bb212118b89218b2e706226b2 (diff) | |
download | u-boot-imx-cb940c7ede85994847c80f4300f2f7eac6e94c48.zip u-boot-imx-cb940c7ede85994847c80f4300f2f7eac6e94c48.tar.gz u-boot-imx-cb940c7ede85994847c80f4300f2f7eac6e94c48.tar.bz2 |
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 'net/arp.h')
0 files changed, 0 insertions, 0 deletions