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

Tom Rini
2012-09-18T19:05:31Z

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

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: <http://lists.denx.de/pipermail/u-boot/attachments/20120918/1e8aeee7/attachment.pgp>