]> Git Repo - u-boot.git/commit
env: cosmetic: drop assignment i = iomux_doenv()
authorGerlando Falauto <[email protected]>
Fri, 24 Aug 2012 00:11:36 +0000 (00:11 +0000)
committerTom Rini <[email protected]>
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 <[email protected]>
Reviewed-by: Marek Vasut <[email protected]>
common/cmd_nvedit.c
This page took 0.033719 seconds and 4 git commands to generate.