env_flash.c: Drop unused variables
PATCH 1/1 env_flash.c: Drop unused variables
With 7ce1526 we no longer need 'len' or 'res', so drop these variables.
Signed-off-by Tom Rini <[email protected]>
--- common/env_flash.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
common/env_flash.c +1 -2
@@ -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 ;
Signature · 1 line
1.7.9.5
PATCH 1/1 env_flash.c: Drop unused variables
Quoted 3 lines · Tom Rini
With 7ce1526 we no longer need 'len' or 'res', so drop these variables.
Signed-off-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140418/261c29b1/attachment.pgp>