]> git.baikalelectronics.ru Git - kernel.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)
commite0c9b97497df06bc69d8cc5520580fad85ec9940
treedb4adaf9dc0f73156693fe4b6af4ada1396a5856
parentea503c534c7190faebd63983dec867c9393ac13f
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