cpuidle: remove unused hrtimer_peek_ahead_timers() call

commit 9a6558371b
  Author: Arjan van de Ven <[email protected]>
  Date:   Sun Nov 9 12:45:10 2008 -0800

     regression: disable timer peek-ahead for 2.6.28

     It's showing up as regressions; disabling it very likely just papers
     over an underlying issue, but time is running out for 2.6.28, lets get
     back to this for 2.6.29

 Many years has passed since 2008, so it seems ok to remove whole `#if 0' block.

Signed-off-by: Sergey Senozhatsky <[email protected]>
Cc: Kevin Hilman <[email protected]>
Cc: Trinabh Gupta <[email protected]>
Cc: Deepthi Dharwar <[email protected]>
Cc: Arjan van de Ven <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Len Brown <[email protected]>
This commit is contained in:
Sergey Senozhatsky 2012-05-04 14:06:02 -07:00 • committed by Len Brown
commit 0aeb9cac6f

View file

@ -124,15 +124,6 @@ int cpuidle_idle_call(void)
if (!dev || !dev->enabled)
return -EBUSY;
#if 0
/* shows regressions, re-enable for 2.6.29 */
/*
* run any timers that can be run now, at this point
* before calculating the idle duration etc.
*/
hrtimer_peek_ahead_timers();
#endif
/* ask the governor for the next state */
next_state = cpuidle_curr_governor->select(drv, dev);
if (need_resched()) {