summaryrefslogtreecommitdiff
path: root/tools/env/fw_env.c
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2018-01-18 20:19:43 +0100
committerTom Rini <trini@konsulko.com>2018-01-28 09:39:15 -0500
commit9e82087cef5a129a9e2f65963cfa8f5169930d2b (patch)
tree91e261e3f10ff02b31e70a9cd0df1ab80e3ba25b /tools/env/fw_env.c
parent20fe38e75abcf67488b88dd04d3febf13c9d0715 (diff)
tools: remove unused ret
Remove unused ret from fw_env_flush. Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/env/fw_env.c')
-rw-r--r--tools/env/fw_env.c2
1 files changed, 0 insertions, 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;