From: Heinrich Schuchardt Date: Mon, 3 Aug 2020 20:12:13 +0000 (+0200) Subject: post: remove redundant condition X-Git-Tag: baikal/mips/sdk5.9~153^2~12 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=489d82c1a2b62b490dcf1f9689335b1a9c49bad3;p=uboot.git post: remove redundant condition (A && A == 0x20) is only true for (A == 0x20). Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- diff --git a/post/post.c b/post/post.c index 6687e0b75c..0f1fe8d905 100644 --- 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;