From: Tom Rini Date: Mon, 21 Jul 2014 16:43:25 -0400 Subject: [U-Boot] [U-Boot,v2,2/2] yaffs2: preprocessor cleanup In-Reply-To: <1405171012-3101-3-git-send-email-jeroen@myspectrum.nl> References: <1405171012-3101-3-git-send-email-jeroen@myspectrum.nl> Message-ID: <20140721204325.GJ1847@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, Jul 12, 2014 at 03:16:52PM +0200, Jeroen Hofstee wrote: > 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 Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: