summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2011-01-12 08:34:59 +0100
committerLen Brown <len.brown@intel.com>2011-01-12 18:47:31 +0100
commitd247632c08c674864d438733280422ddb7130ff8 (patch)
treed9c759480147cd867b72ceb8625554b2e7b550ed /drivers/cpuidle
parentACPI: processor_idle: delete use of NOP CPUIDLE_FLAGs (diff)
downloadlinux-d247632c08c674864d438733280422ddb7130ff8.tar.xz
linux-d247632c08c674864d438733280422ddb7130ff8.zip
cpuidle: delete NOP CPUIDLE_FLAG_POLL
it serves no purpose Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/cpuidle')
-rw-r--r--drivers/cpuidle/cpuidle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpuidle/cpuidle.c b/drivers/cpuidle/cpuidle.c
index 37e446041306..dd5f1eafd6f2 100644
--- a/drivers/cpuidle/cpuidle.c
+++ b/drivers/cpuidle/cpuidle.c
@@ -186,7 +186,7 @@ static void poll_idle_init(struct cpuidle_device *dev)
state->exit_latency = 0;
state->target_residency = 0;
state->power_usage = -1;
- state->flags = CPUIDLE_FLAG_POLL;
+ state->flags = 0;
state->enter = poll_idle;
}
#else