diff options
author | Baoquan He <bhe@redhat.com> | 2017-04-07 04:22:47 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-04-18 20:33:44 -0400 |
commit | f49c3f90a31f6e19ef3343dcc8809dac1019b59e (patch) | |
tree | 3029b6ca014425d3a12cf7ea6a1645b161ef2bf9 /drivers/acpi/tables.c | |
parent | 4f7d029b9bf009fbee76bb10c0c4351a1870d2f3 (diff) |
ACPI / tables: Drop acpi_parse_entries() which is not used
Function acpi_parse_entries() is not used any more and if necessary,
acpi_table_parse_entries() can be used instead of it, so drop it.
Signed-off-by: Baoquan He <bhe@redhat.com>
[ rjw: Subject / changelog ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/tables.c')
-rw-r--r-- | drivers/acpi/tables.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/acpi/tables.c b/drivers/acpi/tables.c index 2604189d6cd1..0dae722ab2ec 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, | |||
311 | } | 311 | } |
312 | 312 | ||
313 | int __init | 313 | int __init |
314 | acpi_parse_entries(char *id, | ||
315 | unsigned long table_size, | ||
316 | acpi_tbl_entry_handler handler, | ||
317 | struct acpi_table_header *table_header, | ||
318 | int entry_id, unsigned int max_entries) | ||
319 | { | ||
320 | struct acpi_subtable_proc proc = { | ||
321 | .id = entry_id, | ||
322 | .handler = handler, | ||
323 | }; | ||
324 | |||
325 | return acpi_parse_entries_array(id, table_size, table_header, | ||
326 | &proc, 1, max_entries); | ||
327 | } | ||
328 | |||
329 | int __init | ||
330 | acpi_table_parse_entries_array(char *id, | 314 | acpi_table_parse_entries_array(char *id, |
331 | unsigned long table_size, | 315 | unsigned long table_size, |
332 | struct acpi_subtable_proc *proc, int proc_num, | 316 | struct acpi_subtable_proc *proc, int proc_num, |