aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorHanjun Guo <[email protected]>2020-07-21 09:59:04 +0000
committerRafael J. Wysocki <[email protected]>2020-07-27 13:19:12 +0000
commit24194a7e03f46f08579e3094417e448a92aff2b4 (patch)
tree26eb9fb154811fda0277a46bebdef181413f1bd5 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentACPI: tables: avoid relocations for table signature array (diff)
downloadkernel-24194a7e03f46f08579e3094417e448a92aff2b4.tar.gz
kernel-24194a7e03f46f08579e3094417e448a92aff2b4.zip
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 <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions