diff options
Diffstat (limited to 'drivers/acpi/acpica/exoparg1.c')
-rw-r--r-- | drivers/acpi/acpica/exoparg1.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/acpi/acpica/exoparg1.c b/drivers/acpi/acpica/exoparg1.c index bbf01e9bf057..cf50c6c6d926 100644 --- a/drivers/acpi/acpica/exoparg1.c +++ b/drivers/acpi/acpica/exoparg1.c | |||
@@ -948,13 +948,7 @@ acpi_status acpi_ex_opcode_1A_0T_1R(struct acpi_walk_state *walk_state) | |||
948 | */ | 948 | */ |
949 | return_desc = | 949 | return_desc = |
950 | acpi_ut_create_integer_object((u64) | 950 | acpi_ut_create_integer_object((u64) |
951 | temp_desc-> | 951 | temp_desc->buffer.pointer[operand[0]->reference.value]); |
952 | buffer. | ||
953 | pointer | ||
954 | [operand | ||
955 | [0]-> | ||
956 | reference. | ||
957 | value]); | ||
958 | if (!return_desc) { | 952 | if (!return_desc) { |
959 | status = AE_NO_MEMORY; | 953 | status = AE_NO_MEMORY; |
960 | goto cleanup; | 954 | goto cleanup; |