summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2012-05-18 01:45:01 +0200
committerAlexander Graf <agraf@suse.de>2012-06-24 01:04:49 +0200
commit1337ae1e5b20802d3167563d6c733172da513ca7 (patch)
treeeca5ee426dfa5b7d7dae839bc4626a72031bc89c
parentd1b935659b77ff8e9d4cb84e3f75679f634401f3 (diff)
Revert "dt: temporarily disable subtree creation failure check"
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 <agraf@suse.de>
-rw-r--r--device_tree.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/device_tree.c b/device_tree.c
index c8d68c203..cc83f0fb0 100644
--- a/device_tree.c
+++ b/device_tree.c
@@ -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;