powerpc/smp: Remove unnecessary variable
authorSrikar Dronamraju <srikar@linux.vnet.ibm.com>
Mon, 19 Oct 2020 04:27:15 +0000 (09:57 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 19 Oct 2020 10:32:34 +0000 (21:32 +1100)
commit966730a6e8524c1b5fe64358e5884605cab6ccb3
treefead8e6ada75324f84d8a8ef963f09a9b0c2e06b
parent8d0e2101274358d9b6b1f27232b40253ca48bab5
powerpc/smp: Remove unnecessary variable

Commit 3ab33d6dc3e9 ("powerpc/smp: Optimize update_mask_by_l2")
introduced submask_fn in update_mask_by_l2 to track the right submask.
However commit f6606cfdfbcd ("powerpc/smp: Dont assume l2-cache to be
superset of sibling") introduced sibling_mask in update_mask_by_l2 to
track the same submask. Remove sibling_mask in favour of submask_fn.

Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201019042716.106234-2-srikar@linux.vnet.ibm.com
arch/powerpc/kernel/smp.c