public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arch/x86/kernel: beautify code, delete unused local variable
@ 2013-02-27  3:53 Chen Gang
  0 siblings, 0 replies; only message in thread
From: Chen Gang @ 2013-02-27  3:53 UTC (permalink / raw)
  To: tglx, mingo@redhat.com, hpa, x86, a.p.zijlstra@chello.nl,
	jarkko.sakkinen,
	linux-kernel@vger.kernel.org >> "linux-kernel@vger.kernel.org"


  local variable c is not used, so deleted.

Signed-off-by: Chen Gang <gang.chen@asianux.com>
---
 arch/x86/kernel/smpboot.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index a6ceaed..7bc998a 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -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;
-- 
1.7.7.6

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-02-27  3:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-27  3:53 [PATCH] arch/x86/kernel: beautify code, delete unused local variable Chen Gang

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