Revert "kconfig: Temporarily disable dependency warnings"
authorMichal Marek <mmarek@suse.cz>
Tue, 12 Oct 2010 13:12:23 +0000 (15:12 +0200)
committerMichal Marek <mmarek@suse.cz>
Tue, 12 Oct 2010 13:12:23 +0000 (15:12 +0200)
This reverts commit 71ebc01, which was a 2.6.36-only stopgap solution.

Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/symbol.c

index cb005684197411491496fe3fd352b74f3e3a2d14..c0efe102d655c40547afe92014cec1c74b70b3c2 100644 (file)
@@ -350,7 +350,6 @@ void sym_calc_value(struct symbol *sym)
                                }
                        }
                calc_newval:
-#if 0
                        if (sym->dir_dep.tri == no && sym->rev_dep.tri != no) {
                                fprintf(stderr, "warning: (");
                                expr_fprint(sym->rev_dep.expr, stderr);
@@ -359,7 +358,6 @@ void sym_calc_value(struct symbol *sym)
                                expr_fprint(sym->dir_dep.expr, stderr);
                                fprintf(stderr, ")\n");
                        }
-#endif
                        newval.tri = EXPR_OR(newval.tri, sym->rev_dep.tri);
                }
                if (newval.tri == mod && sym_get_type(sym) == S_BOOLEAN)