[U-Boot] [U-Boot, v4, 1/7] env: cosmetic: drop assignment i = iomux_doenv()

Tom Rini trini at ti.com
Tue Sep 18 21:05:31 CEST 2012

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 <gerlando.falauto at keymile.com>
> Reviewed-by: Marek Vasut <marex at denx.de>

Along with the rest of the series, applied to u-boot/master, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120918/1e8aeee7/attachment.pgp>

More information about the U-Boot mailing list