summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrmoore1 <rmoore1>2007-03-16 20:53:27 +0000
committerrmoore1 <rmoore1>2007-03-16 20:53:27 +0000
commitc8d5ad785e1137bc5a27b724e51ae90114db4f83 (patch)
treecfba175634f897ea8303e71b8e809b3dac9545fa
parent5d90105853696508b2b4a3fab01640b072e13424 (diff)
downloadacpica-c8d5ad785e1137bc5a27b724e51ae90114db4f83.tar.gz
Removed extraneous code.
-rw-r--r--source/components/dispatcher/dsmethod.c9
-rw-r--r--source/components/namespace/nswalk.c7
2 files changed, 3 insertions, 13 deletions
diff --git a/source/components/dispatcher/dsmethod.c b/source/components/dispatcher/dsmethod.c
index 23c98504a..0db4eae0d 100644
--- a/source/components/dispatcher/dsmethod.c
+++ b/source/components/dispatcher/dsmethod.c
@@ -1,7 +1,7 @@
/******************************************************************************
*
* Module Name: dsmethod - Parser/Interpreter interface - control method parsing
- * $Revision: 1.135 $
+ * $Revision: 1.136 $
*
*****************************************************************************/
@@ -651,7 +651,6 @@ AcpiDsTerminateControlMethod (
ACPI_OPERAND_OBJECT *MethodDesc,
ACPI_WALK_STATE *WalkState)
{
- ACPI_NAMESPACE_NODE *MethodNode;
ACPI_STATUS Status;
@@ -694,12 +693,6 @@ AcpiDsTerminateControlMethod (
if (WalkState)
{
/*
- * Delete any objects created by this method during execution.
- * The method Node is stored in the walk state
- */
- MethodNode = WalkState->MethodNode;
-
- /*
* Delete any namespace objects created anywhere within
* the namespace by the execution of this method
*/
diff --git a/source/components/namespace/nswalk.c b/source/components/namespace/nswalk.c
index b6f57618a..d3e7c7f2e 100644
--- a/source/components/namespace/nswalk.c
+++ b/source/components/namespace/nswalk.c
@@ -1,7 +1,7 @@
/******************************************************************************
*
* Module Name: nswalk - Functions for walking the ACPI namespace
- * $Revision: 1.45 $
+ * $Revision: 1.46 $
*
*****************************************************************************/
@@ -160,10 +160,7 @@ AcpiNsGetNextNode (
{
/* It's really the parent's _scope_ that we want */
- if (ParentNode->Child)
- {
- NextNode = ParentNode->Child;
- }
+ NextNode = ParentNode->Child;
}
else