]> git.sur5r.net Git - u-boot/commit
yaffs2: preprocessor cleanup
authorJeroen Hofstee <jeroen@myspectrum.nl>
Sat, 12 Jul 2014 13:16:52 +0000 (15:16 +0200)
committerTom Rini <trini@ti.com>
Fri, 18 Jul 2014 21:53:23 +0000 (17:53 -0400)
commit862c93e96ec2f092f2a16a0f8b4a0a1ecaab6d13
tree52de26354e61fbbe5c49a5512f51a0d560ff937b
parente803fa2c4b9313a9efc7b9f87a49839d542d9615
yaffs2: preprocessor cleanup

Current code uses the preprocessor to change an else case
to a statement without any if condition at all. Although
this works, change the optional code to return early, so
all optional code is contained within a single #ifdef.

Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
fs/yaffs2/yaffs_guts.c