summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorMichael Jones <michael.jones@matrix-vision.de>2011-10-20 01:37:18 +0000
committerAnatolij Gustschin <agust@denx.de>2011-12-05 21:55:25 +0100
commita1d88f43e44d016b073ded77343faad87d14e516 (patch)
tree53d418d1d5176e35ccffabfa8a3ceb6ff0128791 /board
parent65f0d12152cd9930acbefbd79e403e1688522901 (diff)
downloadu-boot-imx-a1d88f43e44d016b073ded77343faad87d14e516.zip
u-boot-imx-a1d88f43e44d016b073ded77343faad87d14e516.tar.gz
u-boot-imx-a1d88f43e44d016b073ded77343faad87d14e516.tar.bz2
mv_common.c: get rid of 'defined but not used' warning
When CONFIG_ENV_IS_NOWHERE, got following warning: mv_common.c:32:14: warning: 'entries_to_keep' defined but not used. Get rid of this warning. Signed-off-by: Michael Jones <michael.jones@matrix-vision.de> Acked-by: Andre Schwarz <andre.schwarz@matrix-vision.de>
Diffstat (limited to 'board')
-rw-r--r--board/matrix_vision/common/mv_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/matrix_vision/common/mv_common.c b/board/matrix_vision/common/mv_common.c
index 404c8b4..acb72c5 100644
--- a/board/matrix_vision/common/mv_common.c
+++ b/board/matrix_vision/common/mv_common.c
@@ -29,6 +29,7 @@
DECLARE_GLOBAL_DATA_PTR;
+#ifndef CONFIG_ENV_IS_NOWHERE
static char* entries_to_keep[] = {
"serial#", "ethaddr", "eth1addr", "model_info", "sensor_cnt",
"fpgadatasize", "ddr_size", "use_dhcp", "use_static_ipaddr",
@@ -38,7 +39,6 @@ static char* entries_to_keep[] = {
#define MV_MAX_ENV_ENTRY_LENGTH 64
#define MV_KEEP_ENTRIES ARRAY_SIZE(entries_to_keep)
-#ifndef CONFIG_ENV_IS_NOWHERE
void mv_reset_environment(void)
{
int i;