summaryrefslogtreecommitdiff
path: root/kernel/sched
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-01-21 00:43:21 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-01-21 00:43:21 +0100
commitf11aef69b235bc30c323776d75ac23b43aac45bb (patch)
treee30232ff6e9249451a414bc3d48c1261a28f7960 /kernel/sched
parentfa8bb4518771b19460a318fbab3eb36c81db3a50 (diff)
parent5bb1729cbdfbe974ad6385be94b14afbac97e19f (diff)
Merge branch 'pm-cpuidle'
* pm-cpuidle: cpuidle: menu: Avoid pointless checks in menu_select() sched / idle: Drop default_idle_call() fallback from call_cpuidle() cpuidle: Don't enable all governors by default cpuidle: Default to ladder governor on ticking systems time: nohz: Expose tick_nohz_enabled cpuidle: menu: Fix menu_select() for CPUIDLE_DRIVER_STATE_START == 0
Diffstat (limited to 'kernel/sched')
-rw-r--r--kernel/sched/idle.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/kernel/sched/idle.c b/kernel/sched/idle.c
index 4a2ef5a02fd3..34852ee70d54 100644
--- a/kernel/sched/idle.c
+++ b/kernel/sched/idle.c
@@ -97,12 +97,6 @@ void default_idle_call(void)
static int call_cpuidle(struct cpuidle_driver *drv, struct cpuidle_device *dev,
int next_state)
{
- /* Fall back to the default arch idle method on errors. */
- if (next_state < 0) {
- default_idle_call();
- return next_state;
- }
-
/*
* The idle task must be scheduled, it is pointless to go to idle, just
* update no idle residency and return.