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:
Heinrich Schuchardt 2020-08-03 22:12:13 +02:00 committed by Tom Rini
parent 001ab99325
commit 86eeac7bcf

View file

@ -189,7 +189,7 @@ static void post_get_env_flags(int *test_flags)
last = 0; last = 0;
name = list; name = list;
while (!last) { while (!last) {
while (*name && *name == ' ') while (*name == ' ')
name++; name++;
if (*name == 0) if (*name == 0)
break; break;