aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/zconf.l
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kconfig/zconf.l')
-rw-r--r--scripts/kconfig/zconf.l4
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/kconfig/zconf.l b/scripts/kconfig/zconf.l
index f23e3affa9b5..b22f884f9022 100644
--- a/scripts/kconfig/zconf.l
+++ b/scripts/kconfig/zconf.l
@@ -294,7 +294,6 @@ void zconf_initscan(const char *name)
294 294
295 current_file = file_lookup(name); 295 current_file = file_lookup(name);
296 current_file->lineno = 1; 296 current_file->lineno = 1;
297 current_file->flags = FILE_BUSY;
298} 297}
299 298
300void zconf_nextfile(const char *name) 299void zconf_nextfile(const char *name)
@@ -334,7 +333,6 @@ void zconf_nextfile(const char *name)
334 exit(1); 333 exit(1);
335 } 334 }
336 } 335 }
337 file->flags |= FILE_BUSY;
338 file->lineno = 1; 336 file->lineno = 1;
339 file->parent = current_file; 337 file->parent = current_file;
340 current_file = file; 338 current_file = file;
@@ -344,8 +342,6 @@ static void zconf_endfile(void)
344{ 342{
345 struct buffer *parent; 343 struct buffer *parent;
346 344
347 current_file->flags |= FILE_SCANNED;
348 current_file->flags &= ~FILE_BUSY;
349 current_file = current_file->parent; 345 current_file = current_file->parent;
350 346
351 parent = current_buf->parent; 347 parent = current_buf->parent;