|
@@ -582,9 +582,7 @@ cleanup:
|
|
/* On error, we must terminate the method properly */
|
|
/* On error, we must terminate the method properly */
|
|
|
|
|
|
acpi_ds_terminate_control_method(obj_desc, next_walk_state);
|
|
acpi_ds_terminate_control_method(obj_desc, next_walk_state);
|
|
- if (next_walk_state) {
|
|
|
|
- acpi_ds_delete_walk_state(next_walk_state);
|
|
|
|
- }
|
|
|
|
|
|
+ acpi_ds_delete_walk_state(next_walk_state);
|
|
|
|
|
|
return_ACPI_STATUS(status);
|
|
return_ACPI_STATUS(status);
|
|
}
|
|
}
|