Messages in this thread Patch in this message | | | Subject | Re: [PATCH] hrtimer: remove unused variable | From | Steven Rostedt <> | Date | Tue, 12 Dec 2006 16:39:40 -0500 |
| |
On Thu, 2006-11-23 at 02:33 -0800, David Rientjes wrote: > Remove unused 'base' variable. >
Or just use it.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Index: linux-2.6.19/kernel/hrtimer.c =================================================================== --- linux-2.6.19.orig/kernel/hrtimer.c 2006-12-12 16:36:09.000000000 -0500 +++ linux-2.6.19/kernel/hrtimer.c 2006-12-12 16:36:36.000000000 -0500 @@ -513,7 +513,7 @@ ktime_t hrtimer_get_remaining(const stru ktime_t rem; base = lock_hrtimer_base(timer, &flags); - rem = ktime_sub(timer->expires, timer->base->get_time()); + rem = ktime_sub(timer->expires, base->get_time()); unlock_hrtimer_base(timer, &flags); return rem;
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |