diff options
author | Gavin Shan <[email protected]> | 2022-07-18 14:42:32 +0800 |
---|---|---|
committer | Will Deacon <[email protected]> | 2022-07-19 19:10:28 +0100 |
commit | 9e26cac5f82b2cce43d98ffd8382ebd858fae7e8 (patch) | |
tree | 1524926b04aec9b541da81d36b127653ec274b27 /lib/mpi/mpi-sub-ui.c | |
parent | 7eacf1858bc86fe93b457c529a3a40e8b94d5af1 (diff) |
arm64: numa: Don't check node against MAX_NUMNODES
When the NUMA nodes are sorted by checking ACPI SRAT (GICC AFFINITY)
sub-table, it's impossible for acpi_map_pxm_to_node() to return
any value, which is greater than or equal to MAX_NUMNODES. Lets drop
the unnecessary check in acpi_numa_gicc_affinity_init().
No functional change intended.
Signed-off-by: Gavin Shan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions