[U-Boot] [PATCH 3/3] cmd_mem: cmp: convert while() to for() loop

Wolfgang Denk wd at denx.de
Tue Jun 19 22:32:18 CEST 2012


Dear Mike Frysinger,

In message <1327086442-18016-3-git-send-email-vapier at gentoo.org> you wrote:
> 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 at gentoo.org>
> ---
>  common/cmd_mem.c |    7 ++-----
>  1 files changed, 2 insertions(+), 5 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A quarrel is quickly settled when deserted by one party; there is  no
battle unless there be two.                                  - Seneca


More information about the U-Boot mailing list