* [PATCH] arch/x86: fix unused variable warning in mwait_play_dead()
@ 2013-03-04 22:59 Shuah Khan
0 siblings, 0 replies; only message in thread
From: Shuah Khan @ 2013-03-04 22:59 UTC (permalink / raw)
To: tglx, mingo, hpa, a.p.zijlstra, jarkko.sakkinen; +Cc: LKML, x86, shuahkhan
Fix arch/x86/kernel/smpboot.c: In function ‘mwait_play_dead’:
arch/x86/kernel/smpboot.c:1370:22: warning: unused variable ‘c’ [-Wunused-variable]
Signed-off-by: Shuah Khan <shuah.khan@hp.com>
---
arch/x86/kernel/smpboot.c | 1 -
1 file changed, 1 deletion(-)
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.10.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-03-04 22:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-04 22:59 [PATCH] arch/x86: fix unused variable warning in mwait_play_dead() Shuah Khan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.