Skip to contentSkip to conversation

arm, bootm: Fix compile warning

PATCH New Heiko Schocher 2 participants 2 messages Oct 25, 2010 – Oct 26, 2010 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm, bootm: Fix compile warning

Fix warning:

bootm.c: In function 'bootm_linux_fdt':
bootm.c:181: warning: unused variable 's'
bootm.c:180: warning: unused variable 'bd'

---
 arch/arm/lib/bootm.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
arch/arm/lib/bootm.c +0 -2
index 2e7b2e1..a1649ee 100644
@@ -177,8 +177,6 @@ static int fixup_memory_node(void *blob)
 static int bootm_linux_fdt(int machid, bootm_headers_t *images)
 {
 	ulong rd_len;
-	bd_t *bd = gd->bd;
-	char *s;
 	void (*kernel_entry)(int zero, int dt_machid, void *dtblob);
 	ulong bootmap_base = getenv_bootm_low();
 	ulong of_size = images->ft_len;
Signature · 1 line
1.7.2.3
#1 lore raw

PATCH 1/1 arm, bootm: Fix compile warning

Dear Heiko Schocher,

Quoted 10 lines · In message <[email protected]> you wrote:

Fix warning:

bootm.c: In function 'bootm_linux_fdt':
bootm.c:181: warning: unused variable 's'
bootm.c:180: warning: unused variable 'bd'

---
 arch/arm/lib/bootm.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Don't put off for tomorrow what you can  do  today,  because  if  you
enjoy it today you can do it again tomorrow.