diff options
author | Tom Rini <trini@ti.com> | 2014-04-17 16:20:39 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-04-17 17:44:36 -0400 |
commit | 3fa1981e243cbe8f4a31139740600eddde5a4da4 (patch) | |
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>
-rw-r--r-- | common/env_flash.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/env_flash.c b/common/env_flash.c index b3ad9088945..004e8849a7d 100644 --- a/common/env_flash.c +++ b/common/env_flash.c @@ -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; |