mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-27 14:14:37 +08:00
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>
This commit is contained in:
parent
001ab99325
commit
86eeac7bcf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user