Deleted Added
full compact
4c4
< * $Revision: 79 $
---
> * $Revision: 82 $
194a195,196
> /* Find the node that is the previous peer in the parent's child list */
>
202a205,206
> /* Node is not first child, unlink it */
>
211c215,227
< ParentNode->Child = NextNode->Peer;
---
> /* Node is first child (has no previous peer) */
>
> if (NextNode->Flags & ANOBJ_END_OF_PEER_LIST)
> {
> /* No peers at all */
>
> ParentNode->Child = NULL;
> }
> else
> { /* Link peer list to parent */
>
> ParentNode->Child = NextNode->Peer;
> }
308c324
< UINT16 OwnerId = TABLE_ID_DSDT;
---
> UINT16 OwnerId = 0;
450a467
> ACPI_NAMESPACE_NODE *Node;
498a516,536
>
> /*
> * Decrement the reference count(s) of all parents up to
> * the root! (counts were incremented when the node was created)
> */
> Node = ChildNode;
> while ((Node = AcpiNsGetParentNode (Node)) != NULL)
> {
> Node->ReferenceCount--;
> }
>
> /* There should be only one reference remaining on this node */
>
> if (ChildNode->ReferenceCount != 1)
> {
> ACPI_REPORT_WARNING (("Existing references (%d) on node being deleted (%p)\n",
> ChildNode->ReferenceCount, ChildNode));
> }
>
> /* Now we can delete the node */
>
617c655
< static void
---
> void