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 <vapier@gentoo.org>
This commit is contained in:
Mike Frysinger
2009-07-24 17:51:27 -04:00
committed by Wolfgang Denk
parent bedd8403f7
commit 18304f7675
8 changed files with 1 additions and 22 deletions

View File

@ -59,7 +59,6 @@
/* references to names in env_common.c */
extern uchar default_environment[];
extern int default_environment_size;
char * env_name_spec = "NAND";