From a51d06d67900547b68cc133c0d185937cea04fee Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Tue, 26 Feb 2013 12:14:36 +0100 Subject: of: remove unused libfdt Now that we are completely independent of libfdt remove the unused code. Signed-off-by: Sascha Hauer --- commands/oftree.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'commands/oftree.c') diff --git a/commands/oftree.c b/commands/oftree.c index e4f52b851c..468235a043 100644 --- a/commands/oftree.c +++ b/commands/oftree.c @@ -30,7 +30,6 @@ #include #include #include -#include #include #include #include @@ -114,7 +113,7 @@ static int do_oftree(int argc, char *argv[]) goto out; } - ret = write_file(file, fdt, fdt_totalsize(fdt)); + ret = write_file(file, fdt, fdt32_to_cpu(fdt->totalsize)); goto out; } -- cgit v1.2.3