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)
commit6325cb4a4ea8f4af8515b923650dd8f709694b44
treefdae65b83773e40ce20cf615a23f6f518b965ae8
parent50e0cf3742a01e72f4ea4a8fe9221b152e22871b
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