From b2de518b80eb01b1004e137ff2435b03dc40018d Mon Sep 17 00:00:00 2001 From: David Gibson Date: Fri, 29 Feb 2008 16:51:28 +1100 Subject: dtc: Make -I dtb mode use fill_fullpaths() At present -I dts and -I fs modes both use the fill_fullpaths() helper function to fill in the fullpath and basenamelen fields of struct node, which are useful in later parts of the code. -I dtb mode, however, fills these in itself. This patch simplifies flattree.c by making -I dtb mode use fill_fullpaths() like the others. Signed-off-by: David Gibson --- treesource.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'treesource.c') diff --git a/treesource.c b/treesource.c index 980bda7..9cbf0a9 100644 --- a/treesource.c +++ b/treesource.c @@ -37,8 +37,6 @@ struct boot_info *dt_from_source(const char *fname) if (yyparse() != 0) return NULL; - fill_fullpaths(the_boot_info->dt, ""); - the_boot_info->error = treesource_error; return the_boot_info; } -- cgit v1.2.1