diff options
author | Bob Moore <robert.moore@intel.com> | 2008-04-10 11:06:40 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-04-22 14:29:27 -0400 |
commit | b7f9f04228eae2cf5adc2ffeb494d4970a8dd8a5 (patch) | |
tree | 729bc503991a07c0706737ba0cfdd1ab639a8252 /drivers/acpi/executer/exconfig.c | |
parent | 1d18c05825c3f2b8933a7fc7f7528881e98deb04 (diff) |
ACPICA: Cosmetic changes only, no functional changes
Lint changes, fix compiler warnings, etc.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/executer/exconfig.c')
-rw-r--r-- | drivers/acpi/executer/exconfig.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/acpi/executer/exconfig.c b/drivers/acpi/executer/exconfig.c index 3370aad3ee14..52b1e95837fa 100644 --- a/drivers/acpi/executer/exconfig.c +++ b/drivers/acpi/executer/exconfig.c | |||
@@ -45,7 +45,6 @@ | |||
45 | #include <acpi/acinterp.h> | 45 | #include <acpi/acinterp.h> |
46 | #include <acpi/amlcode.h> | 46 | #include <acpi/amlcode.h> |
47 | #include <acpi/acnamesp.h> | 47 | #include <acpi/acnamesp.h> |
48 | #include <acpi/acevents.h> | ||
49 | #include <acpi/actables.h> | 48 | #include <acpi/actables.h> |
50 | #include <acpi/acdispat.h> | 49 | #include <acpi/acdispat.h> |
51 | 50 | ||
@@ -341,9 +340,10 @@ acpi_ex_load_op(union acpi_operand_object *obj_desc, | |||
341 | 340 | ||
342 | /* Validate checksum here. It won't get validated in tb_add_table */ | 341 | /* Validate checksum here. It won't get validated in tb_add_table */ |
343 | 342 | ||
344 | status = acpi_tb_verify_checksum((struct acpi_table_header *) | 343 | status = |
345 | obj_desc->buffer.pointer, | 344 | acpi_tb_verify_checksum(ACPI_CAST_PTR |
346 | length); | 345 | (struct acpi_table_header, |
346 | obj_desc->buffer.pointer), length); | ||
347 | if (ACPI_FAILURE(status)) { | 347 | if (ACPI_FAILURE(status)) { |
348 | return_ACPI_STATUS(status); | 348 | return_ACPI_STATUS(status); |
349 | } | 349 | } |
@@ -468,7 +468,7 @@ acpi_status acpi_ex_unload_table(union acpi_operand_object *ddb_handle) | |||
468 | * (Offset contains the table_id) | 468 | * (Offset contains the table_id) |
469 | */ | 469 | */ |
470 | acpi_tb_delete_namespace_by_owner(table_index); | 470 | acpi_tb_delete_namespace_by_owner(table_index); |
471 | acpi_tb_release_owner_id(table_index); | 471 | (void)acpi_tb_release_owner_id(table_index); |
472 | 472 | ||
473 | acpi_tb_set_table_loaded_flag(table_index, FALSE); | 473 | acpi_tb_set_table_loaded_flag(table_index, FALSE); |
474 | 474 | ||