From: Tom Rini <trini@ti.com>
Date: Thu, 17 Apr 2014 20:20:39 +0000 (-0400)
Subject: env_flash.c: Drop unused variables
X-Git-Tag: v2025.01-rc5-pxa1908~15403
X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-logo.png?a=commitdiff_plain;h=3fa1981e243cbe8f4a31139740600eddde5a4da4;p=u-boot.git

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 b3ad908894..004e8849a7 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;