From d2d95b25cc95d20cd5697fe002dadd5b47ec49b2 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Sat, 6 Sep 2008 20:30:26 +0000 Subject: [PATCH] The .next pointer was written twice for every struct device in statictree.c. This bug was introduced in r175. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Carl-Daniel Hailfinger git-svn-id: svn://coreboot.org/repository/coreboot-v3@859 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- util/dtc/flattree.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/util/dtc/flattree.c b/util/dtc/flattree.c index af45b487a7..59aa19613f 100644 --- a/util/dtc/flattree.c +++ b/util/dtc/flattree.c @@ -661,8 +661,6 @@ static void coreboot_emit_special(FILE *e, struct node *tree) } if (tree->next_sibling) fprintf(f, "\t.sibling = &dev_%s,\n", tree->next_sibling->label); - if (tree->next) - fprintf(f, "\t.next = &dev_%s,\n", tree->next->label); /* now do we do next? */ /* this will need to do a bus for every child. And, below, we're going to need to find which bus we're on*/ /* for now, let's keep it to the minimum that will work, while we see if we like this. */