From: Wolfgang Denk Date: Tue, 19 Jun 2012 22:32:18 +0200 Subject: [U-Boot] [PATCH 3/3] cmd_mem: cmp: convert while() to for() loop In-Reply-To: <1327086442-18016-3-git-send-email-vapier@gentoo.org> References: <1327086442-18016-1-git-send-email-vapier@gentoo.org> <1327086442-18016-3-git-send-email-vapier@gentoo.org> Message-ID: <20120619203218.6F0F020224F@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Mike Frysinger, In message <1327086442-18016-3-git-send-email-vapier@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 > --- > 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