From: Jelle van der Waa Date: Thu, 18 Jan 2018 19:19:43 +0000 (+0100) Subject: tools: remove unused ret X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=9e82087cef5a129a9e2f65963cfa8f5169930d2b;p=u-boot.git tools: remove unused ret Remove unused ret from fw_env_flush. Signed-off-by: Jelle van der Waa Reviewed-by: Simon Glass --- 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;