powerpc/numa: stub out numa_update_cpu_topology()
authorNathan Lynch <nathanl@linux.ibm.com>
Fri, 12 Jun 2020 05:12:29 +0000 (00:12 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 16 Jul 2020 03:12:37 +0000 (13:12 +1000)
commit893ec6461f46c91487d914e6d467d2e804b9a883
tree8744f446264a8834ee844b1c4be407613a015061
parent9fb8b5fd1bf782a8257506ad5198237f4124d556
powerpc/numa: stub out numa_update_cpu_topology()

Previous changes have removed the code which sets bits in
cpu_associativity_changes_mask and thus it is never modifed at
runtime. From this we can reason that numa_update_cpu_topology()
always returns 0 without doing anything. Remove the body of
numa_update_cpu_topology() and remove all code which becomes
unreachable as a result.

Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Reviewed-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200612051238.1007764-10-nathanl@linux.ibm.com
arch/powerpc/mm/numa.c