]> 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)
commit9403db391f309003d74d8f963401957e16080069
treedb4adaf9dc0f73156693fe4b6af4ada1396a5856
parent17f7be8cdb85c78cdd3e7ec7ebef6af8ce4d2146
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