Skip to content

Commit

Permalink
Revert "dt: temporarily disable subtree creation failure check"
Browse files Browse the repository at this point in the history
This reverts commit "dt: temporarily disable subtree creation
failure check" which was meant as a temporary solution to keep
external and dynamic device tree construction intact.

Now that we switched to fully dynamic dt construction, it's no
longer necessary.

Signed-off-by: Alexander Graf <[email protected]>
  • Loading branch information
agraf committed Jun 23, 2012
1 parent d1b9356 commit 1337ae1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions device_tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,13 +239,11 @@ int qemu_devtree_add_subnode(void *fdt, const char *name)
}

retval = fdt_add_subnode(fdt, parent, basename);
#if 0
if (retval < 0) {
fprintf(stderr, "FDT: Failed to create subnode %s: %s\n", name,
fdt_strerror(retval));
exit(1);
}
#endif

g_free(dupname);
return retval;
Expand Down

0 comments on commit 1337ae1

Please sign in to comment.