ACPI: NUMA: Remove the useless sub table pointer check
authorHanjun Guo <guohanjun@huawei.com>
Tue, 21 Jul 2020 09:59:05 +0000 (17:59 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 27 Jul 2020 13:19:12 +0000 (15:19 +0200)
commit1c60f91c319d55058da3a0f6a361b6e6ee6b8c58
tree0d026fdfc559cbacd1e405b1f4912a6dea51daf1
parent24194a7e03f46f08579e3094417e448a92aff2b4
ACPI: NUMA: Remove the useless sub table pointer check

In acpi_parse_entries_array(), the subtable entries (entry.hdr)
will never be NULL, so for ACPI subtable handler in struct
acpi_subtable_proc, will never handle NULL subtable entries.

Remove those useless subtable pointer checks in the callback
handlers.

Signed-off-by: Hanjun Guo <guohanjun@huawei.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/numa/srat.c