From 18304f7675e84252965b4e24cba279071f1da472 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 24 Jul 2009 17:51:27 -0400 Subject: env: kill off default_environment_size The only environment type that uses this variable is spi flash, and that is only because it is reimplementing the common set_default_env() function. So fix the spi flash code and kill off the default_environment_size in the process. Signed-off-by: Mike Frysinger --- common/env_nvram.c | 1 - 1 file changed, 1 deletion(-) (limited to 'common/env_nvram.c') diff --git a/common/env_nvram.c b/common/env_nvram.c index 562edd049..2628fe434 100644 --- a/common/env_nvram.c +++ b/common/env_nvram.c @@ -58,7 +58,6 @@ env_t *env_ptr = (env_t *)CONFIG_ENV_ADDR; char * env_name_spec = "NVRAM"; extern uchar default_environment[]; -extern int default_environment_size; #ifdef CONFIG_AMIGAONEG3SE uchar env_get_char_spec (int index) -- cgit v1.2.3