cpu/hotplug: Remove unused but set variable in _cpu_down()

After the recent removal of the hotplug notifiers the variable 'hasdied' in
_cpu_down() is set but no longer read, leading to the following GCC warning
when building with 'make W=1':

kernel/cpu.c:767:7: warning: variable ‘hasdied’ set but not used [-Wunused-but-set-variable]

Fix it by removing the variable.

Fixes: 530e9b76ae8f ("cpu/hotplug: Remove obsolete cpu hotplug register/unregister functions")
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: rt@linutronix.de
Link: http://lkml.kernel.org/r/20170117143501.20893-1-tklauser@distanz.ch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

authored by Tobias Klauser and committed by Thomas Gleixner 0fec9557 4205e478

Changed files
-2
kernel
-2
kernel/cpu.c
··· 764 764 { 765 765 struct cpuhp_cpu_state *st = per_cpu_ptr(&cpuhp_state, cpu); 766 766 int prev_state, ret = 0; 767 - bool hasdied = false; 768 767 769 768 if (num_online_cpus() == 1) 770 769 return -EBUSY; ··· 808 809 cpuhp_kick_ap_work(cpu); 809 810 } 810 811 811 - hasdied = prev_state != st->state && st->state == CPUHP_OFFLINE; 812 812 out: 813 813 cpu_hotplug_done(); 814 814 return ret;