summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2014-04-17 16:20:39 -0400
committerTom Rini <trini@ti.com>2014-04-17 17:44:36 -0400
commit3fa1981e243cbe8f4a31139740600eddde5a4da4 (patch)
tree49681a3d2342cd0ca2fb1ed53092da634dba0729
parentd4426ce28f33eec06095b2b426916b591f5357db (diff)
downloadu-boot-imx-3fa1981e243cbe8f4a31139740600eddde5a4da4.zip
u-boot-imx-3fa1981e243cbe8f4a31139740600eddde5a4da4.tar.gz
u-boot-imx-3fa1981e243cbe8f4a31139740600eddde5a4da4.tar.bz2
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.c3
1 files changed, 1 insertions, 2 deletions
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 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;