From 6c16d64b2a0bb063a89225dcaabd50c00bce7aa2 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 12 Apr 2020 00:09:46 +0200 Subject: Revert "build: add option to warn on recursive dependency" This reverts commit 3204430e38f1a2ba7fda9471720a2a1042adf5e0. Reverting this commit in preparation for reverting dcf3e63a35 ("build: scripts/config - update to kconfig-v5.6") which introduces various unaddressed build breakages. Signed-off-by: Jo-Philipp Wich --- scripts/config/symbol.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'scripts/config/symbol.c') diff --git a/scripts/config/symbol.c b/scripts/config/symbol.c index 5c6f540314..b1dd9be29d 100644 --- a/scripts/config/symbol.c +++ b/scripts/config/symbol.c @@ -1250,11 +1250,6 @@ struct symbol *sym_check_deps(struct symbol *sym) sym->flags &= ~SYMBOL_CHECK; } -#ifdef WARN_RECURSIVE_DEP - if (sym2 && sym2 == sym) - sym2 = NULL; -#endif - return sym2; } -- cgit v1.2.3