]> git.dujemihanovic.xyz Git - u-boot.git/commit
env: cosmetic: drop assignment i = iomux_doenv()
authorGerlando Falauto <gerlando.falauto@keymile.com>
Fri, 24 Aug 2012 00:11:36 +0000 (00:11 +0000)
committerTom Rini <trini@ti.com>
Tue, 18 Sep 2012 19:01:52 +0000 (12:01 -0700)
commitc2ba2ff51101cdcfabdc0bdc961e37cc51cb7d23
treeebfc3f1b5fe99829e4ce06c31f04a6cccfc6feb2
parent8ae51ae172b89e198e33779403338fb41926950b
env: cosmetic: drop assignment i = iomux_doenv()

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>
common/cmd_nvedit.c