cmd_mem: cmp: convert while() to for() loop
authorMike Frysinger <vapier@gentoo.org>
Fri, 20 Jan 2012 09:07:22 +0000 (09:07 +0000)
committerWolfgang Denk <wd@denx.de>
Tue, 19 Jun 2012 20:32:11 +0000 (22:32 +0200)
commitfeb12a1f6d4d9958ab019a3fa6a820244072c889
tree01a21fcff974feef288a023abf91818b2a62d627
parent054ea170f271f869396eaea2ff14c52aa43d41c5
cmd_mem: cmp: convert while() to for() loop

Simplify the code slightly by using a for() loop since this is
basically what we're already doing -- incrementing "ngood" to
the value in "count".

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
common/cmd_mem.c