]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
fixdep: remove leftover handling of IS_BUILTIN/IS_MODULE
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Thu, 20 May 2021 10:32:17 +0000 (12:32 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 14 Jul 2021 20:57:35 +0000 (16:57 -0400)
I removed CONFIG_IS_BUILTIN and CONFIG_IS_MODULE in commit
7d78a4547d ("linux/kconfig.h: remove unused helper macros"), but
fixdep.c still looks for those. It's harmless, but also pointless and
possibly confusing to a future reader.

Fixes: 7d78a4547d ("linux/kconfig.h: remove unused helper macros")
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
scripts/basic/fixdep.c

index 6d59cf8c07ee31e1afdbf76f79e9661b91cad04a..5ced0f6b069854e228e1a74729b9957c7b5c3632 100644 (file)
@@ -257,13 +257,9 @@ static void parse_config_file(const char *p)
                /*
                 * U-Boot also handles
                 *   CONFIG_IS_ENABLED(...)
-                *   CONFIG_IS_BUILTIN(...)
-                *   CONFIG_IS_MODULE(...)
                 *   CONFIG_VAL(...)
                 */
                if ((q - p == 10 && !memcmp(p, "IS_ENABLED(", 11)) ||
-                   (q - p == 10 && !memcmp(p, "IS_BUILTIN(", 11)) ||
-                   (q - p == 9 && !memcmp(p, "IS_MODULE(", 10)) ||
                    (q - p == 3 && !memcmp(p, "VAL(", 4))) {
                        p = q + 1;
                        q = p;