commit | c5a0bc5a077a2c8923658b16baeeca80f6aca635 | [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 | 603f146c191e2c9f563146153d5bde63f735aaf0 [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;