Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1564369 > unrolled thread

[GIT pull] smp/hotplug fix for 4.10

Started byThomas Gleixner <tglx@linutronix.de>
First post2017-01-22 13:20 +0100
Last post2017-01-22 13:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [GIT pull] smp/hotplug fix for 4.10 Thomas Gleixner <tglx@linutronix.de> - 2017-01-22 13:20 +0100

#1564369 — [GIT pull] smp/hotplug fix for 4.10

FromThomas Gleixner <tglx@linutronix.de>
Date2017-01-22 13:20 +0100
Subject[GIT pull] smp/hotplug fix for 4.10
Message-ID<t2phM-Fc-17@gated-at.bofh.it>
Linus,

please pull the latest smp-urgent-for-linus git tree from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git smp-urgent-for-linus

Remove an unused variable which is a leftover from the notifier removal.

Thanks,

	tglx

------------------>
Tobias Klauser (1):
      cpu/hotplug: Remove unused but set variable in _cpu_down()


 kernel/cpu.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/kernel/cpu.c b/kernel/cpu.c
index c47506357519..0a5f630f5c54 100644
--- a/kernel/cpu.c
+++ b/kernel/cpu.c
@@ -764,7 +764,6 @@ static int __ref _cpu_down(unsigned int cpu, int tasks_frozen,
 {
 	struct cpuhp_cpu_state *st = per_cpu_ptr(&cpuhp_state, cpu);
 	int prev_state, ret = 0;
-	bool hasdied = false;
 
 	if (num_online_cpus() == 1)
 		return -EBUSY;
@@ -809,7 +808,6 @@ static int __ref _cpu_down(unsigned int cpu, int tasks_frozen,
 		cpuhp_kick_ap_work(cpu);
 	}
 
-	hasdied = prev_state != st->state && st->state == CPUHP_OFFLINE;
 out:
 	cpu_hotplug_done();
 	return ret;

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web