[25/31] Revert "dt: temporarily disable subtree creation failure check"

Message ID 1338940402-28502-26-git-send-email-agraf@suse.de
State New
Headers show

Commit Message

Alexander Graf June 5, 2012, 11:53 p.m.
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>


v1 -> v2:

  - remove commit id from patch description
 device_tree.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)


diff --git a/device_tree.c b/device_tree.c
index 644d766..a2039e5 100644
--- a/device_tree.c
+++ b/device_tree.c
@@ -268,13 +268,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,
     return retval;