[U-Boot-Users] [PATCH] Fix defined but not used build warning

Marcel Ziswiler marcel at ziswiler.com
Thu May 1 09:05:34 CEST 2008


- warning: ‘srom’ defined but not used

Signed-off-by: Marcel Ziswiler <marcel at ziswiler.com>
---
 board/trizepsiv/eeprom.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/board/trizepsiv/eeprom.c b/board/trizepsiv/eeprom.c
index 3d3bc00..7a2b905 100644
--- a/board/trizepsiv/eeprom.c
+++ b/board/trizepsiv/eeprom.c
@@ -24,7 +24,6 @@
 #include <common.h>
 #include <command.h>
 
-static unsigned char srom[128];
 extern u16 read_srom_word(int);
 extern void write_srom_word(int offset, u16 val);
 
-- 
1.5.4.1





More information about the U-Boot mailing list