]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/numa: remove unreachable topology workqueue code
authorNathan Lynch <nathanl@linux.ibm.com>
Fri, 12 Jun 2020 05:12:27 +0000 (00:12 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 16 Jul 2020 03:12:36 +0000 (13:12 +1000)
commit10b1392d48efb9fe0744c01eebb5cc9a265a11bd
treefdae65b83773e40ce20cf615a23f6f518b965ae8
parentc83940a2c08d0f7244e5c4598af3d055cf8adcec
powerpc/numa: remove unreachable topology workqueue code

Since vphn_enabled is always 0, we can remove the call to
topology_schedule_update() and remove the 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-8-nathanl@linux.ibm.com
arch/powerpc/mm/numa.c