diff options
| author | Len Brown <len.brown@intel.com> | 2007-05-10 02:49:21 -0400 |
|---|---|---|
| committer | Len Brown <len.brown@intel.com> | 2007-05-10 02:49:21 -0400 |
| commit | 3dd6786f55219f87fd33e153669600d715ca9270 (patch) | |
| tree | 305f8389a93bf86df79f4cf8fb0050b1d6008939 /drivers/acpi/namespace/nsxfeval.c | |
| parent | f697b677620d04d8c77841745727de85f7e948b1 (diff) | |
| parent | 88db5e1489f23876a226f5393fd978ddc09dc5f9 (diff) | |
Pull bugzilla-8385 into release branch
Diffstat (limited to 'drivers/acpi/namespace/nsxfeval.c')
| -rw-r--r-- | drivers/acpi/namespace/nsxfeval.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/drivers/acpi/namespace/nsxfeval.c b/drivers/acpi/namespace/nsxfeval.c index 8904d0fae6a2..7ac6ace50059 100644 --- a/drivers/acpi/namespace/nsxfeval.c +++ b/drivers/acpi/namespace/nsxfeval.c | |||
| @@ -170,7 +170,6 @@ acpi_evaluate_object(acpi_handle handle, | |||
| 170 | struct acpi_buffer *return_buffer) | 170 | struct acpi_buffer *return_buffer) |
| 171 | { | 171 | { |
| 172 | acpi_status status; | 172 | acpi_status status; |
| 173 | acpi_status status2; | ||
| 174 | struct acpi_evaluate_info *info; | 173 | struct acpi_evaluate_info *info; |
| 175 | acpi_size buffer_space_needed; | 174 | acpi_size buffer_space_needed; |
| 176 | u32 i; | 175 | u32 i; |
| @@ -329,14 +328,12 @@ acpi_evaluate_object(acpi_handle handle, | |||
| 329 | * Delete the internal return object. NOTE: Interpreter must be | 328 | * Delete the internal return object. NOTE: Interpreter must be |
| 330 | * locked to avoid race condition. | 329 | * locked to avoid race condition. |
| 331 | */ | 330 | */ |
| 332 | status2 = acpi_ex_enter_interpreter(); | 331 | acpi_ex_enter_interpreter(); |
| 333 | if (ACPI_SUCCESS(status2)) { | ||
| 334 | 332 | ||
| 335 | /* Remove one reference on the return object (should delete it) */ | 333 | /* Remove one reference on the return object (should delete it) */ |
| 336 | 334 | ||
| 337 | acpi_ut_remove_reference(info->return_object); | 335 | acpi_ut_remove_reference(info->return_object); |
| 338 | acpi_ex_exit_interpreter(); | 336 | acpi_ex_exit_interpreter(); |
| 339 | } | ||
| 340 | } | 337 | } |
| 341 | 338 | ||
| 342 | cleanup: | 339 | cleanup: |
