env_flash.c: Drop unused variables
authorTom Rini <trini@ti.com>
Thu, 17 Apr 2014 20:20:39 +0000 (16:20 -0400)
committerTom Rini <trini@ti.com>
Thu, 17 Apr 2014 21:44:36 +0000 (17:44 -0400)
With 7ce1526 we no longer need 'len' or 'res', so drop these variables.

Signed-off-by: Tom Rini <trini@ti.com>
common/env_flash.c

index b3ad908894551bce70601cb0e7d3cfc9bc679ddb..004e8849a7dd23508dd790a41e3298f92b167c43 100644 (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;