Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1466716

[PATCH 2/2] ACPI: remove duplicate declaration for acpi_table_parse_entries()

From Al Stone <ahs3@redhat.com>
Newsgroups linux.kernel
Subject [PATCH 2/2] ACPI: remove duplicate declaration for acpi_table_parse_entries()
Date 2016-08-20 01:20 +0200
Message-ID <s81eV-3A6-11@gated-at.bofh.it> (permalink)
References <s81eV-3A6-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Commit 9b3fedde27d3 ("ACPI / tables: Add acpi_subtable_proc to ACPI
table parsers") added a second identical declaration for the function
acpi_table_parse_entries() to include/linux/acpi.h.

Remove the redundant one.

Signed-off-by: Al Stone <ahs3@redhat.com>
---
 include/linux/acpi.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/include/linux/acpi.h b/include/linux/acpi.h
index 4d8452c..cd8dc0e 100644
--- a/include/linux/acpi.h
+++ b/include/linux/acpi.h
@@ -218,10 +218,6 @@ int __init acpi_table_parse_entries(char *id, unsigned long table_size,
 			      int entry_id,
 			      acpi_tbl_entry_handler handler,
 			      unsigned int max_entries);
-int __init acpi_table_parse_entries(char *id, unsigned long table_size,
-			      int entry_id,
-			      acpi_tbl_entry_handler handler,
-			      unsigned int max_entries);
 int __init acpi_table_parse_entries_array(char *id, unsigned long table_size,
 			      struct acpi_subtable_proc *proc, int proc_num,
 			      unsigned int max_entries);
-- 
2.7.4

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] minor ACPI source file cleanup Al Stone <ahs3@redhat.com> - 2016-08-20 01:20 +0200
  [PATCH 1/2] trivial: ACPI: remove extraneous whitespace from a comment Al Stone <ahs3@redhat.com> - 2016-08-20 01:20 +0200
  [PATCH 2/2] ACPI: remove duplicate declaration for acpi_table_parse_entries() Al Stone <ahs3@redhat.com> - 2016-08-20 01:20 +0200

csiph-web