diff options
Diffstat (limited to 'scripts/dtc/treesource.c')
-rw-r--r-- | scripts/dtc/treesource.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/dtc/treesource.c b/scripts/dtc/treesource.c index 33eeba55fb4..c09aafade31 100644 --- a/scripts/dtc/treesource.c +++ b/scripts/dtc/treesource.c | |||
@@ -23,7 +23,6 @@ | |||
23 | 23 | ||
24 | extern FILE *yyin; | 24 | extern FILE *yyin; |
25 | extern int yyparse(void); | 25 | extern int yyparse(void); |
26 | extern YYLTYPE yylloc; | ||
27 | 26 | ||
28 | struct boot_info *the_boot_info; | 27 | struct boot_info *the_boot_info; |
29 | int treesource_error; | 28 | int treesource_error; |
@@ -35,7 +34,6 @@ struct boot_info *dt_from_source(const char *fname) | |||
35 | 34 | ||
36 | srcfile_push(fname); | 35 | srcfile_push(fname); |
37 | yyin = current_srcfile->f; | 36 | yyin = current_srcfile->f; |
38 | yylloc.file = current_srcfile; | ||
39 | 37 | ||
40 | if (yyparse() != 0) | 38 | if (yyparse() != 0) |
41 | die("Unable to parse input tree\n"); | 39 | die("Unable to parse input tree\n"); |