aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <[email protected]>2012-01-24 18:59:43 +0100
committerThomas Gleixner <[email protected]>2012-02-15 15:23:09 +0100
commit15f827be93928890bba965bc175caee50c4406d2 (patch)
treef858d834563a8f47327fbd4792dcf3b5499901b9 /net/lapb/lapb_timer.c
parent430ee8819553f66fe00e36f676a45886d76e7e8b (diff)
nohz: Remove ts->Einidle checks before restarting the tick
ts->inidle is set by tick_nohz_idle_enter() and unset by tick_nohz_idle_exit(). However these two calls are assumed to be always paired. This means that by the time we call tick_nohz_idle_exit(), ts->inidle is supposed to be always set to 1. Remove the checks for ts->inidle in tick_nohz_idle_exit(). This simplifies a bit the code and improves its debuggability (ie: ensure the call is paired with a tick_nohz_idle_enter() call). Signed-off-by: Frederic Weisbecker <[email protected]> Reviewed-by: Yong Zhang <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: John Stultz <[email protected]> Cc: Ingo Molnar <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions