9
0
Fork 0

commands/bootm.c: fix unused-but-set-variable gcc warning

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Antony Pavlov 2011-07-04 00:53:01 +04:00 committed by Sascha Hauer
parent 8a14eb2ead
commit 82991fd15f
1 changed files with 1 additions and 2 deletions

View File

@ -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");