Commit f072181e authored by Sam Ravnborg's avatar Sam Ravnborg

kconfig: drop the ""trying to assign nonexistent symbol" warning

They really stand out now that make *config is less chatty - and
they are generally ignored - so drop them.
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Adrian Bunk <bunk@kernel.org>
parent 22127f24
...@@ -222,10 +222,8 @@ int conf_read_simple(const char *name, int def) ...@@ -222,10 +222,8 @@ int conf_read_simple(const char *name, int def)
continue; continue;
if (def == S_DEF_USER) { if (def == S_DEF_USER) {
sym = sym_find(line + 9); sym = sym_find(line + 9);
if (!sym) { if (!sym)
conf_warning("trying to assign nonexistent symbol %s", line + 9);
break; break;
}
} else { } else {
sym = sym_lookup(line + 9, 0); sym = sym_lookup(line + 9, 0);
if (sym->type == S_UNKNOWN) if (sym->type == S_UNKNOWN)
...@@ -261,10 +259,8 @@ int conf_read_simple(const char *name, int def) ...@@ -261,10 +259,8 @@ int conf_read_simple(const char *name, int def)
} }
if (def == S_DEF_USER) { if (def == S_DEF_USER) {
sym = sym_find(line + 7); sym = sym_find(line + 7);
if (!sym) { if (!sym)
conf_warning("trying to assign nonexistent symbol %s", line + 7);
break; break;
}
} else { } else {
sym = sym_lookup(line + 7, 0); sym = sym_lookup(line + 7, 0);
if (sym->type == S_UNKNOWN) if (sym->type == S_UNKNOWN)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment