aboutsummaryrefslogtreecommitdiff
path: root/namespace/nswalk.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2010-05-28 18:46:48 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2010-05-28 18:46:48 +0000
commitf2bf96d30fe08965ffd53a28099131ac030e43d5 (patch)
tree2429d13f44367948f54b059645bd882e2e28f2d4 /namespace/nswalk.c
parent5b663f0c698a9ecf7e562f7f7f730d056e499b5f (diff)
downloadsrc-f2bf96d30fe08965ffd53a28099131ac030e43d5.tar.gz
src-f2bf96d30fe08965ffd53a28099131ac030e43d5.zip
Import ACPICA 20100528.vendor/acpica/20100528
Notes
Notes: svn path=/vendor-sys/acpica/dist/; revision=208625 svn path=/vendor-sys/acpica/20100528/; revision=208626; tag=vendor/acpica/20100528
Diffstat (limited to 'namespace/nswalk.c')
-rw-r--r--namespace/nswalk.c16
1 files changed, 3 insertions, 13 deletions
diff --git a/namespace/nswalk.c b/namespace/nswalk.c
index b6c573bda7d5..2863926060ae 100644
--- a/namespace/nswalk.c
+++ b/namespace/nswalk.c
@@ -158,16 +158,6 @@ AcpiNsGetNextNode (
return (ParentNode->Child);
}
- /*
- * Get the next node.
- *
- * If we are at the end of this peer list, return NULL
- */
- if (ChildNode->Flags & ANOBJ_END_OF_PEER_LIST)
- {
- return NULL;
- }
-
/* Otherwise just return the next peer */
return (ChildNode->Peer);
@@ -227,9 +217,9 @@ AcpiNsGetNextNodeTyped (
return (NextNode);
}
- /* Otherwise, move on to the next node */
+ /* Otherwise, move on to the next peer node */
- NextNode = AcpiNsGetNextValidNode (NextNode);
+ NextNode = NextNode->Peer;
}
/* Not found */
@@ -454,7 +444,7 @@ AcpiNsWalkNamespace (
*/
Level--;
ChildNode = ParentNode;
- ParentNode = AcpiNsGetParentNode (ParentNode);
+ ParentNode = ParentNode->Parent;
NodePreviouslyVisited = TRUE;
}