diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2012-05-26 00:08:57 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2012-06-06 13:49:01 +0200 |
commit | ec44bc7acc3687ba6ae8154b4b5a845b70279237 (patch) | |
tree | 56149499de97126be42cfb302a2f1da420dd55c5 /drivers/parisc/README.dino | |
parent | Merge tag 'please-pull-mce' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff) | |
download | linux-ec44bc7acc3687ba6ae8154b4b5a845b70279237.tar.xz linux-ec44bc7acc3687ba6ae8154b4b5a845b70279237.zip |
timers: Create detach_if_pending() and use it
Most callers of detach_timer() have the same pattern around
them. Check whether the timer is pending and eventually updating
base->next_timer.
Create detach_if_pending() and replace the duplicated code.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Gilad Ben-Yossef <gilad@benyossef.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Link: http://lkml.kernel.org/r/20120525214819.131246037@linutronix.de
Diffstat (limited to 'drivers/parisc/README.dino')
0 files changed, 0 insertions, 0 deletions