aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/dtc/treesource.c
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/dtc/treesource.c')
-rw-r--r--scripts/dtc/treesource.c2
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
24extern FILE *yyin; 24extern FILE *yyin;
25extern int yyparse(void); 25extern int yyparse(void);
26extern YYLTYPE yylloc;
27 26
28struct boot_info *the_boot_info; 27struct boot_info *the_boot_info;
29int treesource_error; 28int 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");