1
0
Fork 0

env_flash.c: Drop unused variables

With 7ce1526 we no longer need 'len' or 'res', so drop these variables.

Signed-off-by: Tom Rini <trini@ti.com>
utp
Tom Rini 2014-04-17 16:20:39 -04:00
parent d4426ce28f
commit 3fa1981e24
1 changed files with 1 additions and 2 deletions

View File

@ -224,9 +224,8 @@ int env_init(void)
int saveenv(void)
{
env_t env_new;
ssize_t len;
int rc = 1;
char *res, *saved_data = NULL;
char *saved_data = NULL;
#if CONFIG_ENV_SECT_SIZE > CONFIG_ENV_SIZE
ulong up_data = 0;