From 53675abbd1e54a30e621a9744bf9cce0712ddd6c Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Tue, 1 Jul 2014 16:37:49 +0200 Subject: [PATCH] x86, apm: Remove unused variable Commit f80c5b39 ("sched/idle, x86: Switch from TS_POLLING to TIF_POLLING_NRFLAG") left variable "polling" unused, so remove it. Signed-off-by: Jean Delvare Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Jiri Kosina Signed-off-by: Jiri Kosina --- arch/x86/kernel/apm_32.c | 1 - 1 file changed, 1 deletion(-) 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()) { -- 2.20.1