Skip to contentSkip to conversation

da8xxevm: Fix warning: unused variable 'val'

PATCH New Wolfgang Denk 1 participant 2 messages Sep 5, 2011 – Sep 7, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 da8xxevm: Fix warning: unused variable 'val'

Cc Albert ARIBAUD <[email protected]>
Cc Sandeep Paulraj <[email protected]>
Cc Sudhakar Rajashekhara <[email protected]>
---
 board/davinci/da8xxevm/da850evm.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
board/davinci/da8xxevm/da850evm.c +3 -1
index 2f950e7..46924d3 100644
@@ -280,12 +280,14 @@ u32 get_board_rev(void)
 
 int board_init(void)
 {
+#ifdef CONFIG_USE_NOR
 	u32 val;
+#endif
+
 #ifndef CONFIG_USE_IRQ
 	irq_init();
 #endif
 
-
 #ifdef CONFIG_NAND_DAVINCI
 	/*
 	 * NAND CS setup - cycle counts based on da850evm NAND timings in the
Signature · 1 line
1.7.6
author Applied
#1 lore raw

PATCH 1/1 da8xxevm: Fix warning: unused variable 'val'

Dear Wolfgang Denk,

Quoted 7 lines · In message <[email protected]> you wrote:
Cc Albert ARIBAUD <[email protected]>
Cc Sandeep Paulraj <[email protected]>
Cc Sudhakar Rajashekhara <[email protected]>
---
 board/davinci/da8xxevm/da850evm.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 7 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
"The glory of creation is in its infinite diversity." "And in the way
our differences combine to create meaning and beauty."
	-- Dr. Miranda Jones and Spock, "Is There in Truth No Beauty?",
	   stardate 5630.8