]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
powerpc/numa: remove unreachable topology update code
authorNathan Lynch <nathanl@linux.ibm.com>
Fri, 12 Jun 2020 05:12:24 +0000 (00:12 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 16 Jul 2020 03:12:35 +0000 (13:12 +1000)
commit7d35bef96a46f7e9e167bb25258c0bd389aeab1b
treedb4adaf9dc0f73156693fe4b6af4ada1396a5856
parentc30f931e891eb0a32885ecd79984e1e7366fceda
powerpc/numa: remove unreachable topology update code

Since the topology_updates_enabled flag is now always false, remove it
and the code which has become unreachable. This is the minimum change
that prevents 'defined but unused' warnings emitted by the compiler
after stubbing out the start/stop_topology_updates() functions.

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-5-nathanl@linux.ibm.com
arch/powerpc/mm/numa.c