Skip to contentSkip to conversation

arch/x86/kernel: beautify code, delete unused local variable

PATCH New Chen Gang 1 participant 1 message Feb 27, 2013 x86

lore
Share & tools
lore

Chen Gang

author
#0 lore raw

PATCH 1/1 arch/x86/kernel: beautify code, delete unused local variable

local variable c is not used, so deleted.

---
 arch/x86/kernel/smpboot.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
arch/x86/kernel/smpboot.c +0 -1
index a6ceaed..7bc998a 100644
@@ -1367,7 +1367,6 @@ static inline void mwait_play_dead(void)
 	unsigned int highest_subcstate = 0;
 	int i;
 	void *mwait_ptr;
-	struct cpuinfo_x86 *c = __this_cpu_ptr(&cpu_info);
 
 	if (!this_cpu_has(X86_FEATURE_MWAIT))
 		return;
Signature · 1 line
1.7.7.6