summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/apm_32.c
diff options
context:
space:
mode:
authorPaul Bolle <pebolle@tiscali.nl>2014-06-30 18:32:29 +0400
committerIngo Molnar <mingo@kernel.org>2014-07-16 14:58:47 +0400
commitd3f44fbabe55132832e152606365adb640296378 (patch)
tree5819268ee26dc09064a05c71fb8ce7eff2aa0600 /arch/x86/kernel/apm_32.c
parent8762e5092828c4dc0f49da5a47a644c670df77f3 (diff)
downloadlinux-d3f44fbabe55132832e152606365adb640296378.tar.xz
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()) {