* [PATCH] x86, smpboot: Remove unused variable
@ 2013-02-21 9:29 Borislav Petkov
0 siblings, 0 replies; only message in thread
From: Borislav Petkov @ 2013-02-21 9:29 UTC (permalink / raw)
To: LKML
Cc: H. Peter Anvin, Ingo Molnar, Thomas Gleixner, Borislav Petkov, Len Brown
From: Borislav Petkov <bp@suse.de>
The cpuinfo_x86 ptr is unused now. Drop it. Got obsolete by 69fb3676df33
("x86 idle: remove mwait_idle() and "idle=mwait" cmdline param")
removing its only user.
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Len Brown <len.brown@intel.com>
---
arch/x86/kernel/smpboot.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index a6ceaedc396a..9f190a2a00e9 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -1365,9 +1365,8 @@ static inline void mwait_play_dead(void)
unsigned int eax, ebx, ecx, edx;
unsigned int highest_cstate = 0;
unsigned int highest_subcstate = 0;
- int i;
void *mwait_ptr;
- struct cpuinfo_x86 *c = __this_cpu_ptr(&cpu_info);
+ int i;
if (!this_cpu_has(X86_FEATURE_MWAIT))
return;
--
1.8.1.3.535.ga923c31
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-02-21 9:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-21 9:29 [PATCH] x86, smpboot: Remove unused variable Borislav Petkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).