diff options
Diffstat (limited to 'drivers/acpi/parser/psloop.c')
-rw-r--r-- | drivers/acpi/parser/psloop.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/acpi/parser/psloop.c b/drivers/acpi/parser/psloop.c index 773aee82fbb8..266dd0c10218 100644 --- a/drivers/acpi/parser/psloop.c +++ b/drivers/acpi/parser/psloop.c | |||
@@ -603,13 +603,6 @@ acpi_ps_complete_op(struct acpi_walk_state *walk_state, | |||
603 | acpi_ps_pop_scope(&(walk_state->parser_state), op, | 603 | acpi_ps_pop_scope(&(walk_state->parser_state), op, |
604 | &walk_state->arg_types, | 604 | &walk_state->arg_types, |
605 | &walk_state->arg_count); | 605 | &walk_state->arg_count); |
606 | |||
607 | if ((*op)->common.aml_opcode != AML_WHILE_OP) { | ||
608 | status2 = acpi_ds_result_stack_pop(walk_state); | ||
609 | if (ACPI_FAILURE(status2)) { | ||
610 | return_ACPI_STATUS(status2); | ||
611 | } | ||
612 | } | ||
613 | } | 606 | } |
614 | 607 | ||
615 | /* Close this iteration of the While loop */ | 608 | /* Close this iteration of the While loop */ |
@@ -640,10 +633,6 @@ acpi_ps_complete_op(struct acpi_walk_state *walk_state, | |||
640 | if (ACPI_FAILURE(status2)) { | 633 | if (ACPI_FAILURE(status2)) { |
641 | return_ACPI_STATUS(status2); | 634 | return_ACPI_STATUS(status2); |
642 | } | 635 | } |
643 | status2 = acpi_ds_result_stack_pop(walk_state); | ||
644 | if (ACPI_FAILURE(status2)) { | ||
645 | return_ACPI_STATUS(status2); | ||
646 | } | ||
647 | 636 | ||
648 | acpi_ut_delete_generic_state | 637 | acpi_ut_delete_generic_state |
649 | (acpi_ut_pop_generic_state | 638 | (acpi_ut_pop_generic_state |