diff options
author | Hanjun Guo <guohanjun@huawei.com> | 2020-07-21 17:59:04 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-07-27 15:19:12 +0200 |
commit | 24194a7e03f46f08579e3094417e448a92aff2b4 (patch) | |
tree | 26eb9fb154811fda0277a46bebdef181413f1bd5 /lib/mpi/mpi-pow.c | |
parent | 2229a12b64a4df7128b6e2d86be2688f8c76efec (diff) |
ACPI: tables: Remove the duplicated checks for acpi_parse_entries_array()
acpi_disabled, pointer id and table_header are checked in
acpi_table_parse_entries_array(), and acpi_parse_entries_array() is
only called by acpi_table_parse_entries_array(), so those checks in
acpi_parse_entries_array() are duplicate.
Remove those duplicated checks and move the table_size check to
acpi_table_parse_entries_array() as well.
Signed-off-by: Hanjun Guo <guohanjun@huawei.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions