From: Tom Rini Date: Tue, 18 Sep 2012 12:05:31 -0700 Subject: [U-Boot] [U-Boot, v4, 1/7] env: cosmetic: drop assignment i = iomux_doenv() In-Reply-To: <1345803102-21110-2-git-send-email-gerlando.falauto@keymile.com> References: <1345803102-21110-2-git-send-email-gerlando.falauto@keymile.com> Message-ID: <20120918190531.GI19861@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 Fri, Aug 24, 2012 at 12:11:36AM -0000, Gerlando Falauto wrote: > iomux_doenv() can only return 0 or 1. > So there is no need to save its return value in variable i, as checking > its truth value within an if statement is enough. > > Signed-off-by: Gerlando Falauto > Reviewed-by: Marek Vasut Along with the rest of the series, 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: