From: Sergei Shtylyov <sshtylyov@mvista.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] board/purple/flash.c: removed unneded variable
Date: Sun, 01 Aug 2010 13:01:18 +0400 [thread overview]
Message-ID: <4C5537DE.1040508@mvista.com> (raw)
In-Reply-To: <1280650241-7821-1-git-send-email-fransmeulenbroeks@gmail.com>
Hello.
Frans Meulenbroeks wrote:
> removed a variable that was not used
> Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
[...]
> diff --git a/board/purple/flash.c b/board/purple/flash.c
> index 37c7bec..5cee35e 100644
> --- a/board/purple/flash.c
> +++ b/board/purple/flash.c
[...]
> @@ -490,7 +489,7 @@ int flash_erase (flash_info_t *info, int s_first, int s_last)
> last = get_timer(0);
>
> /* Start erase on unprotected sectors */
> - for (sect = s_first; sect<=s_last && rcode == 0; sect++) {
> + for (sect = s_first; sect<=s_last; sect++) {
High time to insert space before and after <=...
WBR, Sergei
next prev parent reply other threads:[~2010-08-01 9:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-31 14:09 [U-Boot] [PATCH] board/purple/flash.c: removed unneded test Frans Meulenbroeks
2010-07-31 17:16 ` Wolfgang Denk
2010-07-31 18:28 ` Frans Meulenbroeks
2010-08-01 8:10 ` [U-Boot] [PATCH] board/purple/flash.c: removed unneded variable Frans Meulenbroeks
2010-08-01 9:01 ` Sergei Shtylyov [this message]
2010-08-01 11:31 ` Frans Meulenbroeks
2010-08-08 23:08 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C5537DE.1040508@mvista.com \
--to=sshtylyov@mvista.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox