projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4426ce
)
env_flash.c: Drop unused variables
author
Tom Rini
<trini@ti.com>
Thu, 17 Apr 2014 20:20:39 +0000
(16:20 -0400)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/common/env_flash.c
b/common/env_flash.c
index b3ad908894551bce70601cb0e7d3cfc9bc679ddb..004e8849a7dd23508dd790a41e3298f92b167c43 100644
(file)
--- 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;