Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH 1/2] MIPS: SMP-CPS: Remove duplicate assignment of core in play_dead
@ 2017-12-15  9:34 Matt Redfearn
  2017-12-15  9:34 ` Matt Redfearn
  2017-12-15  9:34 ` [PATCH 2/2] MIPS: pm-cps: Warn if JTAG presence will block power gating Matt Redfearn
  0 siblings, 2 replies; 4+ messages in thread
From: Matt Redfearn @ 2017-12-15  9:34 UTC (permalink / raw)
  To: Ralf Baechle, jhogan
  Cc: linux-mips, Matt Redfearn, Dengcheng Zhu, linux-kernel,
	Paul Burton, Ingo Molnar

The merge of commit f875a832d2028 ("MIPS: Abstract CPU core & VP(E) ID
access through accessor functions") ended up creating a duplicate
assignment of core during the rebase on commit bac06cf0fb9d ("MIPS:
smp-cps: Fix potentially uninitialised value of core"). Remove the
duplicate.

Signed-off-by: Matt Redfearn <matt.redfearn@mips.com>
---

 arch/mips/kernel/smp-cps.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/mips/kernel/smp-cps.c b/arch/mips/kernel/smp-cps.c
index ecc1a853f48d..03f1026ad148 100644
--- a/arch/mips/kernel/smp-cps.c
+++ b/arch/mips/kernel/smp-cps.c
@@ -439,8 +439,6 @@ void play_dead(void)
 	pr_debug("CPU%d going offline\n", cpu);
 
 	if (cpu_has_mipsmt || cpu_has_vp) {
-		core = cpu_core(&cpu_data[cpu]);
-
 		/* Look for another online VPE within the core */
 		for_each_online_cpu(cpu_death_sibling) {
 			if (!cpus_are_siblings(cpu, cpu_death_sibling))
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-12-15  9:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-15  9:34 [PATCH 1/2] MIPS: SMP-CPS: Remove duplicate assignment of core in play_dead Matt Redfearn
2017-12-15  9:34 ` Matt Redfearn
2017-12-15  9:34 ` [PATCH 2/2] MIPS: pm-cps: Warn if JTAG presence will block power gating Matt Redfearn
2017-12-15  9:34   ` Matt Redfearn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox