diff options
Diffstat (limited to 'scripts/kconfig')
-rw-r--r-- | scripts/kconfig/confdata.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c index 07597611cc50..df6a188b9930 100644 --- a/scripts/kconfig/confdata.c +++ b/scripts/kconfig/confdata.c | |||
@@ -222,10 +222,8 @@ load: | |||
222 | continue; | 222 | continue; |
223 | if (def == S_DEF_USER) { | 223 | if (def == S_DEF_USER) { |
224 | sym = sym_find(line + 9); | 224 | sym = sym_find(line + 9); |
225 | if (!sym) { | 225 | if (!sym) |
226 | conf_warning("trying to assign nonexistent symbol %s", line + 9); | ||
227 | break; | 226 | break; |
228 | } | ||
229 | } else { | 227 | } else { |
230 | sym = sym_lookup(line + 9, 0); | 228 | sym = sym_lookup(line + 9, 0); |
231 | if (sym->type == S_UNKNOWN) | 229 | if (sym->type == S_UNKNOWN) |
@@ -261,10 +259,8 @@ load: | |||
261 | } | 259 | } |
262 | if (def == S_DEF_USER) { | 260 | if (def == S_DEF_USER) { |
263 | sym = sym_find(line + 7); | 261 | sym = sym_find(line + 7); |
264 | if (!sym) { | 262 | if (!sym) |
265 | conf_warning("trying to assign nonexistent symbol %s", line + 7); | ||
266 | break; | 263 | break; |
267 | } | ||
268 | } else { | 264 | } else { |
269 | sym = sym_lookup(line + 7, 0); | 265 | sym = sym_lookup(line + 7, 0); |
270 | if (sym->type == S_UNKNOWN) | 266 | if (sym->type == S_UNKNOWN) |