[U-Boot] [PATCH] env_flash.c: Drop unused variables
Tom Rini
trini at ti.com
Thu Apr 17 22:21:52 CEST 2014
With 7ce1526 we no longer need 'len' or 'res', so drop these variables.
Signed-off-by: Tom Rini <trini at ti.com>
---
common/env_flash.c | 3 +--
1 file changed, 1 insertion(+), 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;
--
1.7.9.5
More information about the U-Boot
mailing list