* [PATCH] ACPI / tables: Cleanup the obsolete acpi_parse_entries
@ 2017-04-07 8:22 Baoquan He
2017-04-11 6:31 ` Cao jin
0 siblings, 1 reply; 2+ messages in thread
From: Baoquan He @ 2017-04-07 8:22 UTC (permalink / raw)
To: rjw, lenb; +Cc: linux-acpi, linux-kernel, Baoquan He
Function acpi_parse_entries is not used any more. And the being used
function, acpi_table_parse_entries can substitute it if really needed.
So clean it up in this patch.
Signed-off-by: Baoquan He <bhe@redhat.com>
---
drivers/acpi/tables.c | 16 ----------------
include/linux/acpi.h | 4 ----
2 files changed, 20 deletions(-)
diff --git a/drivers/acpi/tables.c b/drivers/acpi/tables.c
index 2604189..0dae722 100644
--- a/drivers/acpi/tables.c
+++ b/drivers/acpi/tables.c
@@ -311,22 +311,6 @@ acpi_parse_entries_array(char *id, unsigned long table_size,
}
int __init
-acpi_parse_entries(char *id,
- unsigned long table_size,
- acpi_tbl_entry_handler handler,
- struct acpi_table_header *table_header,
- int entry_id, unsigned int max_entries)
-{
- struct acpi_subtable_proc proc = {
- .id = entry_id,
- .handler = handler,
- };
-
- return acpi_parse_entries_array(id, table_size, table_header,
- &proc, 1, max_entries);
-}
-
-int __init
acpi_table_parse_entries_array(char *id,
unsigned long table_size,
struct acpi_subtable_proc *proc, int proc_num,
diff --git a/include/linux/acpi.h b/include/linux/acpi.h
index 9b05886..83abbfc 100644
--- a/include/linux/acpi.h
+++ b/include/linux/acpi.h
@@ -233,10 +233,6 @@ int acpi_numa_init (void);
int acpi_table_init (void);
int acpi_table_parse(char *id, acpi_tbl_table_handler handler);
-int __init acpi_parse_entries(char *id, unsigned long table_size,
- acpi_tbl_entry_handler handler,
- struct acpi_table_header *table_header,
- int entry_id, unsigned int max_entries);
int __init acpi_table_parse_entries(char *id, unsigned long table_size,
int entry_id,
acpi_tbl_entry_handler handler,
--
2.5.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ACPI / tables: Cleanup the obsolete acpi_parse_entries
2017-04-07 8:22 [PATCH] ACPI / tables: Cleanup the obsolete acpi_parse_entries Baoquan He
@ 2017-04-11 6:31 ` Cao jin
0 siblings, 0 replies; 2+ messages in thread
From: Cao jin @ 2017-04-11 6:31 UTC (permalink / raw)
To: Baoquan He, rjw, lenb; +Cc: linux-acpi, linux-kernel
On 04/07/2017 04:22 PM, Baoquan He wrote:
> Function acpi_parse_entries is not used any more. And the being used
> function, acpi_table_parse_entries can substitute it if really needed.
>
> So clean it up in this patch.
>
It maybe also useful to mention the commit id f26527b142 & 9b3fedde27
who disuse the function.
--
Sincerely,
Cao jin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-04-11 6:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-07 8:22 [PATCH] ACPI / tables: Cleanup the obsolete acpi_parse_entries Baoquan He
2017-04-11 6:31 ` Cao jin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).