[U-Boot] [PATCH] tools: remove unused ret

Jelle van der Waa jelle at vdwaa.nl
Thu Jan 18 19:19:43 UTC 2018


Remove unused ret from fw_env_flush.

Signed-off-by: Jelle van der Waa <jelle at vdwaa.nl>
---
 tools/env/fw_env.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c
index 18c2324d2f..ca5507d4d7 100644
--- a/tools/env/fw_env.c
+++ b/tools/env/fw_env.c
@@ -505,8 +505,6 @@ int fw_printenv(int argc, char *argv[], int value_only, struct env_opts *opts)
 
 int fw_env_flush(struct env_opts *opts)
 {
-	int ret;
-
 	if (!opts)
 		opts = &default_opts;
 
-- 
2.15.1



More information about the U-Boot mailing list