From: Sascha Hauer <s.hauer@pengutronix.de>
To: Antony Pavlov <antonynpavlov@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] commands/bootm.c: fix unused-but-set-variable gcc warning
Date: Mon, 4 Jul 2011 09:00:03 +0200 [thread overview]
Message-ID: <20110704070003.GZ6069@pengutronix.de> (raw)
In-Reply-To: <1309726383-17932-1-git-send-email-antonynpavlov@gmail.com>
All applied to -next
Sascha
On Mon, Jul 04, 2011 at 12:53:01AM +0400, Antony Pavlov wrote:
> ---
> commands/bootm.c | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/commands/bootm.c b/commands/bootm.c
> index 34164bc..e5ffacb 100644
> --- a/commands/bootm.c
> +++ b/commands/bootm.c
> @@ -282,7 +282,6 @@ static int handler_parse_options(struct image_data *data, int opt, char *optarg)
>
> static int do_bootm(struct command *cmdtp, int argc, char *argv[])
> {
> - ulong iflag;
> int opt;
> image_header_t *os_header;
> struct image_handle *os_handle, *initrd_handle = NULL;
> @@ -344,7 +343,7 @@ static int do_bootm(struct command *cmdtp, int argc, char *argv[])
> * recover from any failures any more...
> */
>
> - iflag = disable_interrupts();
> + disable_interrupts();
>
> puts ("OK\n");
>
> --
> 1.7.5.4
>
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2011-07-04 7:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-03 20:53 Antony Pavlov
2011-07-03 20:53 ` [PATCH] lib/readline.c: " Antony Pavlov
2011-07-03 20:53 ` [PATCH] NiosII: fix typo in cpu/exceptions.S Antony Pavlov
2011-07-04 7:00 ` Sascha Hauer [this message]
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=20110704070003.GZ6069@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=antonynpavlov@gmail.com \
--cc=barebox@lists.infradead.org \
/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