[<prev] [next>] [day] [month] [year] [list]
Message-ID: <512D834E.4000703@asianux.com>
Date: Wed, 27 Feb 2013 11:53:50 +0800
From: Chen Gang <gang.chen@...anux.com>
To: tglx@...utronix.de, "mingo@...hat.com" <mingo@...hat.com>,
hpa@...or.com, x86@...nel.org,
"a.p.zijlstra@...llo.nl" <a.p.zijlstra@...llo.nl>,
jarkko.sakkinen@...el.com,
"linux-kernel@...r.kernel.org >> \"linux-kernel@...r.kernel.org\""
<linux-kernel@...r.kernel.org>
Subject: [PATCH] arch/x86/kernel: beautify code, delete unused local variable
local variable c is not used, so deleted.
Signed-off-by: Chen Gang <gang.chen@...anux.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists