Update the commit log. Thanks, Feng
>From 61e3349625843bd9e4c353598ec50a2333409986 Mon Sep 17 00:00:00 2001 From: Feng Tang <[email protected]> Date: Wed, 18 Jul 2012 15:01:18 +0800 Subject: [PATCH 2/2] ACPI: Remove acpi_get_table_with_size() fucntion Remove the unnecessary acpi_get_table_with_size(), as it could be well covered by acpi_get_table(). Signed-off-by: Feng Tang <[email protected]> --- drivers/acpi/acpica/tbxface.c | 18 +++--------------- include/acpi/acpixf.h | 4 ---- 2 files changed, 3 insertions(+), 19 deletions(-) diff --git a/drivers/acpi/acpica/tbxface.c b/drivers/acpi/acpica/tbxface.c index abcc641..3daf93d 100644 --- a/drivers/acpi/acpica/tbxface.c +++ b/drivers/acpi/acpica/tbxface.c @@ -380,7 +380,7 @@ ACPI_EXPORT_SYMBOL(acpi_unload_table_id) /******************************************************************************* * - * FUNCTION: acpi_get_table_with_size + * FUNCTION: acpi_get_table * * PARAMETERS: Signature - ACPI signature of needed table * Instance - Which instance (for SSDTs) @@ -392,9 +392,8 @@ ACPI_EXPORT_SYMBOL(acpi_unload_table_id) * ******************************************************************************/ acpi_status -acpi_get_table_with_size(char *signature, - u32 instance, struct acpi_table_header **out_table, - acpi_size *tbl_size) +acpi_get_table(char *signature, + u32 instance, struct acpi_table_header **out_table) { u32 i; u32 j; @@ -424,7 +423,6 @@ acpi_get_table_with_size(char *signature, acpi_tb_verify_table(&acpi_gbl_root_table_list.tables[i]); if (ACPI_SUCCESS(status)) { *out_table = acpi_gbl_root_table_list.tables[i].pointer; - *tbl_size = acpi_gbl_root_table_list.tables[i].length; } if (!acpi_gbl_permanent_mmap) { @@ -436,16 +434,6 @@ acpi_get_table_with_size(char *signature, return (AE_NOT_FOUND); } - -acpi_status -acpi_get_table(char *signature, - u32 instance, struct acpi_table_header **out_table) -{ - acpi_size tbl_size; - - return acpi_get_table_with_size(signature, - instance, out_table, &tbl_size); -} ACPI_EXPORT_SYMBOL(acpi_get_table) /******************************************************************************* diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index 18f023a..63a4b26 100644 --- a/include/acpi/acpixf.h +++ b/include/acpi/acpixf.h @@ -172,10 +172,6 @@ acpi_get_table_header(acpi_string signature, struct acpi_table_header *out_table_header); acpi_status -acpi_get_table_with_size(acpi_string signature, - u32 instance, struct acpi_table_header **out_table, - acpi_size *tbl_size); -acpi_status acpi_get_table(acpi_string signature, u32 instance, struct acpi_table_header **out_table); -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

