commit | 86eeac7bcf486de3f4182c2a084eff181b8c6e63 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Mon Aug 03 22:12:13 2020 +0200 |
committer | Tom Rini <trini@konsulko.com> | Fri Oct 23 13:33:06 2020 -0400 |
tree | 0d5a42d6be4f206b386bfdbda4fefb21bdd958d6 | |
parent | 001ab99325bf82cf3284771d1312585570569740 [diff] |
post: remove redundant condition (A && A == 0x20) is only true for (A == 0x20). Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
diff --git a/post/post.c b/post/post.c index 6687e0b..0f1fe8d 100644 --- a/post/post.c +++ b/post/post.c
@@ -189,7 +189,7 @@ last = 0; name = list; while (!last) { - while (*name && *name == ' ') + while (*name == ' ') name++; if (*name == 0) break;