[PATCH 6.1 268/291] LoongArch: Eliminate superfluous get_numa_distances_cnt()