[PATCH 2/3] arm: karo-tx25: Fix compilation warning.

Marek Belisko marek.belisko at open-nandra.com
Mon May 2 15:52:58 EDT 2011


Fix following warning:
arch/arm/boards/karo-tx25/lowlevel.c: In function 'board_init_lowlevel':
arch/arm/boards/karo-tx25/lowlevel.c:75:6: warning: unused variable 'i'

Signed-off-by: Marek Belisko <marek.belisko at open-nandra.com>
---
 arch/arm/boards/karo-tx25/lowlevel.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/arm/boards/karo-tx25/lowlevel.c b/arch/arm/boards/karo-tx25/lowlevel.c
index 86319d7..868ba08 100644
--- a/arch/arm/boards/karo-tx25/lowlevel.c
+++ b/arch/arm/boards/karo-tx25/lowlevel.c
@@ -72,7 +72,6 @@ static inline void __bare_init  setup_sdram(uint32_t base, uint32_t esdctl,
 void __bare_init __naked board_init_lowlevel(void)
 {
 	uint32_t r;
-	int i;
 #ifdef CONFIG_NAND_IMX_BOOT
 	unsigned int *trg, *src;
 #endif
-- 
1.7.4.1




More information about the barebox mailing list