commit | 3fa1981e243cbe8f4a31139740600eddde5a4da4 | [log] [tgz] |
---|---|---|
author | Tom Rini <trini@ti.com> | Thu Apr 17 16:20:39 2014 -0400 |
committer | Tom Rini <trini@ti.com> | Thu Apr 17 17:44:36 2014 -0400 |
tree | 49681a3d2342cd0ca2fb1ed53092da634dba0729 | |
parent | d4426ce28f33eec06095b2b426916b591f5357db [diff] |
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>
diff --git a/common/env_flash.c b/common/env_flash.c index b3ad908..004e884 100644 --- a/common/env_flash.c +++ b/common/env_flash.c
@@ -224,9 +224,8 @@ 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;