projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
001ab99
)
post: remove redundant condition
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Mon, 3 Aug 2020 20:12:13 +0000
(22:12 +0200)
committer
Tom Rini
<trini@konsulko.com>
Fri, 23 Oct 2020 17:33:06 +0000
(13:33 -0400)
(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>
post/post.c
patch
|
blob
|
history
diff --git
a/post/post.c
b/post/post.c
index
6687e0b
..
0f1fe8d
100644
(file)
--- a/
post/post.c
+++ b/
post/post.c
@@
-189,7
+189,7
@@
static void post_get_env_flags(int *test_flags)
last = 0;
name = list;
while (!last) {
- while (*name
&& *name
== ' ')
+ while (*name == ' ')
name++;
if (*name == 0)
break;