All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/7] arch/arm/lib/board.c: fix warning: variable ... set but not used
@ 2011-10-05 21:17 Wolfgang Denk
  2011-10-05 21:17 ` [U-Boot] [PATCH 2/7] CFI: " Wolfgang Denk
                   ` (7 more replies)
  0 siblings, 8 replies; 21+ messages in thread
From: Wolfgang Denk @ 2011-10-05 21:17 UTC (permalink / raw)
  To: u-boot

Fix:
board.c:445:8: warning: variable 'bd' set but not used [-Wunused-but-set-variable]

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
---
 arch/arm/lib/board.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c
index 705d4d2..b266f78 100644
--- a/arch/arm/lib/board.c
+++ b/arch/arm/lib/board.c
@@ -442,14 +442,12 @@ static char *failed = "*** failed ***\n";
 void board_init_r(gd_t *id, ulong dest_addr)
 {
 	char *s;
-	bd_t *bd;
 	ulong malloc_start;
 #if !defined(CONFIG_SYS_NO_FLASH)
 	ulong flash_size;
 #endif
 
 	gd = id;
-	bd = gd->bd;
 
 	gd->flags |= GD_FLG_RELOC;	/* tell others: relocation done */
 
-- 
1.7.6.2

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

end of thread, other threads:[~2011-10-09 20:51 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-05 21:17 [U-Boot] [PATCH 1/7] arch/arm/lib/board.c: fix warning: variable ... set but not used Wolfgang Denk
2011-10-05 21:17 ` [U-Boot] [PATCH 2/7] CFI: " Wolfgang Denk
2011-10-06  5:54   ` Stefan Roese
2011-10-06  7:55     ` Wolfgang Denk
2011-10-09 20:41   ` Wolfgang Denk
2011-10-05 21:17 ` [U-Boot] [PATCH 3/7] fs/jffs2/jffs2_1pass.c: " Wolfgang Denk
2011-10-09 20:41   ` Wolfgang Denk
2011-10-05 21:17 ` [U-Boot] [PATCH 4/7] drivers/net/smc91111.c: " Wolfgang Denk
2011-10-09 20:42   ` Wolfgang Denk
2011-10-05 21:17 ` [U-Boot] [PATCH 5/7] common/cmd_usb.c: " Wolfgang Denk
2011-10-08 17:55   ` Remy Bohmer
2011-10-09 20:42   ` Wolfgang Denk
2011-10-05 21:17 ` [U-Boot] [PATCH 6/7] drivers/usb/host/ohci-hcd.c: " Wolfgang Denk
2011-10-08 17:56   ` Remy Bohmer
2011-10-09 20:42   ` Wolfgang Denk
2011-10-05 21:17 ` [U-Boot] [PATCH 7/7] common/usb.c: " Wolfgang Denk
2011-10-08 17:57   ` Remy Bohmer
2011-10-09 20:43   ` Wolfgang Denk
2011-10-07 17:13 ` [U-Boot] [PATCH 1/7] arch/arm/lib/board.c: " Simon Glass
2011-10-09 20:51   ` Wolfgang Denk
2011-10-09 20:40 ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.