diff options
| author | Jung-uk Kim <jkim@FreeBSD.org> | 2010-05-28 18:46:48 +0000 | 
|---|---|---|
| committer | Jung-uk Kim <jkim@FreeBSD.org> | 2010-05-28 18:46:48 +0000 | 
| commit | f2bf96d30fe08965ffd53a28099131ac030e43d5 (patch) | |
| tree | 2429d13f44367948f54b059645bd882e2e28f2d4 /namespace/nssearch.c | |
| parent | 5b663f0c698a9ecf7e562f7f7f730d056e499b5f (diff) | |
Notes
Diffstat (limited to 'namespace/nssearch.c')
| -rw-r--r-- | namespace/nssearch.c | 15 | 
1 files changed, 2 insertions, 13 deletions
| diff --git a/namespace/nssearch.c b/namespace/nssearch.c index fa15b9c5bb0fc..3bee106f2d716 100644 --- a/namespace/nssearch.c +++ b/namespace/nssearch.c @@ -229,17 +229,6 @@ AcpiNsSearchOneScope (              return_ACPI_STATUS (AE_OK);          } -        /* -         * The last entry in the list points back to the parent, -         * so a flag is used to indicate the end-of-list -         */ -        if (Node->Flags & ANOBJ_END_OF_PEER_LIST) -        { -            /* Searched entire list, we are done */ - -            break; -        } -          /* Didn't match name, move on to the next peer object */          Node = Node->Peer; @@ -296,7 +285,7 @@ AcpiNsSearchParentTree (      ACPI_FUNCTION_TRACE (NsSearchParentTree); -    ParentNode = AcpiNsGetParentNode (Node); +    ParentNode = Node->Parent;      /*       * If there is no parent (i.e., we are at the root) or type is "local", @@ -341,7 +330,7 @@ AcpiNsSearchParentTree (          /* Not found here, go up another level (until we reach the root) */ -        ParentNode = AcpiNsGetParentNode (ParentNode); +        ParentNode = ParentNode->Parent;      }      /* Not found in parent tree */ | 
