[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 25/25] Revert "dt: temporarily disable subtree creat

From: Alexander Graf
Subject: [Qemu-devel] [PATCH 25/25] Revert "dt: temporarily disable subtree creation failure check"
Date: Wed, 30 May 2012 13:00:46 +0200

This reverts commit 417d5f1051e73db3f0d185d3be3ff3e69174893d 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 <address@hidden>
 device_tree.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/device_tree.c b/device_tree.c
index b511b34..104f5d2 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;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]