aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/dispatcher/dsmethod.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2008-04-10 11:06:37 -0400
committerLen Brown <len.brown@intel.com>2008-04-22 14:29:22 -0400
commita69c77c72094bfda1ed02336ec9a1bae186fd2fc (patch)
tree1e28aba9f36ff0d513e8815e4a619ff441d17b28 /drivers/acpi/dispatcher/dsmethod.c
parent91e38d10b2b49b8a200111baa7714c4a7e658a4c (diff)
ACPICA: Removed extraneous code
Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/dispatcher/dsmethod.c')
-rw-r--r--drivers/acpi/dispatcher/dsmethod.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/acpi/dispatcher/dsmethod.c b/drivers/acpi/dispatcher/dsmethod.c
index c50c0cd5d717..3db651c7f582 100644
--- a/drivers/acpi/dispatcher/dsmethod.c
+++ b/drivers/acpi/dispatcher/dsmethod.c
@@ -535,7 +535,6 @@ void
535acpi_ds_terminate_control_method(union acpi_operand_object *method_desc, 535acpi_ds_terminate_control_method(union acpi_operand_object *method_desc,
536 struct acpi_walk_state *walk_state) 536 struct acpi_walk_state *walk_state)
537{ 537{
538 struct acpi_namespace_node *method_node;
539 acpi_status status; 538 acpi_status status;
540 539
541 ACPI_FUNCTION_TRACE_PTR(ds_terminate_control_method, walk_state); 540 ACPI_FUNCTION_TRACE_PTR(ds_terminate_control_method, walk_state);
@@ -575,12 +574,6 @@ acpi_ds_terminate_control_method(union acpi_operand_object *method_desc,
575 574
576 if (walk_state) { 575 if (walk_state) {
577 /* 576 /*
578 * Delete any objects created by this method during execution.
579 * The method Node is stored in the walk state
580 */
581 method_node = walk_state->method_node;
582
583 /*
584 * Delete any namespace objects created anywhere within 577 * Delete any namespace objects created anywhere within
585 * the namespace by the execution of this method 578 * the namespace by the execution of this method
586 */ 579 */