summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/apm_32.c
diff options
context:
space:
mode:
authorPaul Bolle <pebolle@tiscali.nl>2014-06-30 16:32:29 +0200
committerIngo Molnar <mingo@kernel.org>2014-07-16 12:58:47 +0200
commitd3f44fbabe55132832e152606365adb640296378 (patch)
tree5819268ee26dc09064a05c71fb8ce7eff2aa0600 /arch/x86/kernel/apm_32.c
parentx86/espfix/xen: Fix allocation of pages for paravirt page tables (diff)
downloadlinux-d3f44fbabe55132832e152606365adb640296378.tar.xz
linux-d3f44fbabe55132832e152606365adb640296378.zip
x86: Remove unused variable "polling"
Compile tested. "polling" is unused since commit f80c5b39b80a ("sched/idle, x86: Switch from TS_POLLING to TIF_POLLING_NRFLAG"). Signed-off-by: Paul Bolle <pebolle@tiscali.nl> Signed-off-by: Peter Zijlstra <peterz@infradead.org> Cc: Jiri Kosina <jkosina@suse.cz> Link: http://lkml.kernel.org/r/1404138749.2978.6.camel@x41 Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/apm_32.c')
-rw-r--r--arch/x86/kernel/apm_32.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kernel/apm_32.c b/arch/x86/kernel/apm_32.c
index f3a1f04ed4cb..584874451414 100644
--- a/arch/x86/kernel/apm_32.c
+++ b/arch/x86/kernel/apm_32.c
@@ -841,7 +841,6 @@ static int apm_do_idle(void)
u32 eax;
u8 ret = 0;
int idled = 0;
- int polling;
int err = 0;
if (!need_resched()) {