public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/4] cmd_bootm: fix compilation warning for assigned but never used variable
@ 2012-06-23 20:08 Otavio Salvador
  2012-06-23 20:08 ` [U-Boot] [PATCH 2/4] mx53loco: add a comment about local copy of print_cpuinfo method Otavio Salvador
                   ` (4 more replies)
  0 siblings, 5 replies; 33+ messages in thread
From: Otavio Salvador @ 2012-06-23 20:08 UTC (permalink / raw)
  To: u-boot

The iflag variable was holding the return of disable_interrupts call
but the value was not used in the method so we drop the assignment.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 common/cmd_bootm.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index 5685232..45e726a 100644
--- a/common/cmd_bootm.c
+++ b/common/cmd_bootm.c
@@ -1587,7 +1587,6 @@ static int bootz_start(cmd_tbl_t *cmdtp, int flag, int argc,
 
 static int do_bootz(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 {
-	ulong		iflag;
 	bootm_headers_t	images;
 
 	if (bootz_start(cmdtp, flag, argc, argv, &images))
@@ -1598,7 +1597,7 @@ static int do_bootz(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 	 * overwrite all exception vector code, so we cannot easily
 	 * recover from any failures any more...
 	 */
-	iflag = disable_interrupts();
+	disable_interrupts();
 
 #if defined(CONFIG_CMD_USB)
 	/*
-- 
1.7.10

^ permalink raw reply related	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2012-06-25  3:35 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-23 20:08 [U-Boot] [PATCH 1/4] cmd_bootm: fix compilation warning for assigned but never used variable Otavio Salvador
2012-06-23 20:08 ` [U-Boot] [PATCH 2/4] mx53loco: add a comment about local copy of print_cpuinfo method Otavio Salvador
2012-06-23 20:07   ` Otavio Salvador
2012-06-23 20:09   ` Marek Vasut
2012-06-24  7:53   ` Wolfgang Denk
2012-06-24 19:02     ` Otavio Salvador
2012-06-24 22:04       ` Wolfgang Denk
2012-06-24 22:10         ` Otavio Salvador
2012-06-23 20:08 ` [U-Boot] [PATCH 2/4] mx53loco: Add a comment about local print_cpuinfo method in board file Otavio Salvador
2012-06-24  7:55   ` Wolfgang Denk
2012-06-24 19:11     ` Otavio Salvador
2012-06-24 21:23       ` Otavio Salvador
2012-06-24 22:05       ` Wolfgang Denk
2012-06-24 22:12         ` Otavio Salvador
2012-06-24 22:53           ` Wolfgang Denk
2012-06-25  3:35             ` Fabio Estevam
2012-06-23 20:08 ` [U-Boot] [PATCH 3/4] imx: Use a clear identification of an unidentified CPU type Otavio Salvador
2012-06-24  6:57   ` Wolfgang Denk
2012-06-24 13:08     ` Marek Vasut
2012-06-24 13:19       ` Fabio Estevam
2012-06-24 13:43         ` Marek Vasut
2012-06-24 13:52       ` Wolfgang Denk
2012-06-24 19:48         ` Otavio Salvador
2012-06-24 19:53           ` Marek Vasut
2012-06-24 19:57             ` Otavio Salvador
2012-06-24 22:08             ` Wolfgang Denk
2012-06-24 22:17               ` Otavio Salvador
2012-06-25  0:20               ` Marek Vasut
2012-06-23 20:08 ` [U-Boot] [PATCH 4/4] mxs: generalize code for print_cpuinfo() Otavio Salvador
2012-06-23 20:08   ` Marek Vasut
2012-06-23 20:31   ` [U-Boot] [PATCH 4/4 v2] " Otavio Salvador
2012-06-23 22:56 ` [U-Boot] [PATCH 1/4] cmd_bootm: fix compilation warning for assigned but never used variable Wolfgang Denk
2012-06-23 23:00   ` Otavio Salvador

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox