From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeroen Hofstee Date: Sat, 21 Jun 2014 21:04:09 +0200 Subject: [U-Boot] [PATCH 2/2] yaffs2: preprocessor cleanup In-Reply-To: <1403377136-11825-4-git-send-email-jeroen@myspectrum.nl> References: <1403377136-11825-1-git-send-email-jeroen@myspectrum.nl> <1403377136-11825-4-git-send-email-jeroen@myspectrum.nl> Message-ID: <1403377449.2393.0.camel@yellow> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On za, 2014-06-21 at 20:58 +0200, Jeroen Hofstee wrote: > Current code uses the preprocessor to and else case > to an statement without an if condition at all. Although > this works, change the optional code to return early, so > it is contained within the #ifdef. > > Signed-off-by: Jeroen Hofstee > --- Attempt 2: 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.