On Tue, Jul 21, 2020 at 12:06 PM Hanjun Guo <guohanjun@xxxxxxxxxx> wrote: > > When reviewing patchset "[PATCH v2 0/6] ACPI: Only create NUMA nodes > from entries in SRAT or SRAT emulation." [0] from Jonathan, I found some > code can be improved, here are some cleanup patches. > > [0]: https://www.spinics.net/lists/linux-mm/msg220777.html > > Hanjun Guo (3): > ACPI: tables: Remove the duplicated checks for > acpi_parse_entries_array() > ACPI: NUMA: Remove the useless sub table pointer check > ACPI: NUMA: Remove the useless 'node >= MAX_NUMNODES' check > > drivers/acpi/numa/srat.c | 10 +--------- > drivers/acpi/tables.c | 17 +++-------------- > 2 files changed, 4 insertions(+), 23 deletions(-) > > -- All three patches applied as 5.9 material, thanks!