From: Dan Carpenter on 7 May 2010 04:30 We don't need to store "base" anymore after cc584b213f25: "hrtimer: convert kernel/* to the new hrtimer apis". Signed-off-by: Dan Carpenter <error27(a)gmail.com> diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c index 0086628..e13e514 100644 --- a/kernel/hrtimer.c +++ b/kernel/hrtimer.c @@ -1096,11 +1096,10 @@ EXPORT_SYMBOL_GPL(hrtimer_cancel); */ ktime_t hrtimer_get_remaining(const struct hrtimer *timer) { - struct hrtimer_clock_base *base; unsigned long flags; ktime_t rem; - base = lock_hrtimer_base(timer, &flags); + lock_hrtimer_base(timer, &flags); rem = hrtimer_expires_remaining(timer); unlock_hrtimer_base(timer, &flags); -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|
Pages: 1 Prev: Fix migration races in rmap_walk() V7 Next: [patch] isicomm: handle running out of slots |