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>
This commit is contained in:
@@ -535,7 +535,6 @@ void
|
|||||||
acpi_ds_terminate_control_method(union acpi_operand_object *method_desc,
|
acpi_ds_terminate_control_method(union acpi_operand_object *method_desc,
|
||||||
struct acpi_walk_state *walk_state)
|
struct acpi_walk_state *walk_state)
|
||||||
{
|
{
|
||||||
struct acpi_namespace_node *method_node;
|
|
||||||
acpi_status status;
|
acpi_status status;
|
||||||
|
|
||||||
ACPI_FUNCTION_TRACE_PTR(ds_terminate_control_method, walk_state);
|
ACPI_FUNCTION_TRACE_PTR(ds_terminate_control_method, walk_state);
|
||||||
@@ -574,12 +573,6 @@ acpi_ds_terminate_control_method(union acpi_operand_object *method_desc,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (walk_state) {
|
if (walk_state) {
|
||||||
/*
|
|
||||||
* Delete any objects created by this method during execution.
|
|
||||||
* The method Node is stored in the walk state
|
|
||||||
*/
|
|
||||||
method_node = walk_state->method_node;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Delete any namespace objects created anywhere within
|
* Delete any namespace objects created anywhere within
|
||||||
* the namespace by the execution of this method
|
* the namespace by the execution of this method
|
||||||
|
@@ -77,9 +77,7 @@ struct acpi_namespace_node *acpi_ns_get_next_node(acpi_object_type type, struct
|
|||||||
|
|
||||||
/* It's really the parent's _scope_ that we want */
|
/* It's really the parent's _scope_ that we want */
|
||||||
|
|
||||||
if (parent_node->child) {
|
next_node = parent_node->child;
|
||||||
next_node = parent_node->child;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
else {
|
else {
|
||||||
|
Reference in New Issue
Block a user