Skip to content

Commit 91d9f8f

Browse files
mpredfearnamalon
authored andcommitted
MIPS: SMP-CPS: Remove duplicate assignment of core in play_dead
The merge of commit f875a83 ("MIPS: Abstract CPU core & VP(E) ID access through accessor functions") ended up creating a duplicate assignment of core during the rebase on commit bac06cf ("MIPS: smp-cps: Fix potentially uninitialised value of core"). Remove the duplicate. Fixes: f875a83 ("MIPS: Abstract CPU core & VP(E) ID access through accessor functions") Signed-off-by: Matt Redfearn <matt.redfearn@mips.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Paul Burton <paul.burton@mips.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/17955/ Signed-off-by: James Hogan <jhogan@kernel.org>
1 parent 7bf8b16 commit 91d9f8f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

arch/mips/kernel/smp-cps.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,8 +439,6 @@ void play_dead(void)
439439
pr_debug("CPU%d going offline\n", cpu);
440440

441441
if (cpu_has_mipsmt || cpu_has_vp) {
442-
core = cpu_core(&cpu_data[cpu]);
443-
444442
/* Look for another online VPE within the core */
445443
for_each_online_cpu(cpu_death_sibling) {
446444
if (!cpus_are_siblings(cpu, cpu_death_sibling))

0 commit comments

Comments
 (0)