diff options
Diffstat (limited to 'drivers/acpi/acpica/psxface.c')
-rw-r--r-- | drivers/acpi/acpica/psxface.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/acpi/acpica/psxface.c b/drivers/acpi/acpica/psxface.c index dd9731c29a79..12934ad6da8e 100644 --- a/drivers/acpi/acpica/psxface.c +++ b/drivers/acpi/acpica/psxface.c | |||
@@ -306,14 +306,12 @@ acpi_status acpi_ps_execute_method(struct acpi_evaluate_info *info) | |||
306 | */ | 306 | */ |
307 | if (acpi_gbl_enable_interpreter_slack) { | 307 | if (acpi_gbl_enable_interpreter_slack) { |
308 | walk_state->implicit_return_obj = | 308 | walk_state->implicit_return_obj = |
309 | acpi_ut_create_internal_object(ACPI_TYPE_INTEGER); | 309 | acpi_ut_create_integer_object((u64) 0); |
310 | if (!walk_state->implicit_return_obj) { | 310 | if (!walk_state->implicit_return_obj) { |
311 | status = AE_NO_MEMORY; | 311 | status = AE_NO_MEMORY; |
312 | acpi_ds_delete_walk_state(walk_state); | 312 | acpi_ds_delete_walk_state(walk_state); |
313 | goto cleanup; | 313 | goto cleanup; |
314 | } | 314 | } |
315 | |||
316 | walk_state->implicit_return_obj->integer.value = 0; | ||
317 | } | 315 | } |
318 | 316 | ||
319 | /* Parse the AML */ | 317 | /* Parse the AML */ |