From: Steven Rostedt <rostedt@goodmis.org>
To: David Rientjes <rientjes@cs.washington.edu>
Cc: d binderman <dcb314@hotmail.com>,
Thomas Gleixner <tglx@linutronix.de>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] hrtimer: remove unused variable
Date: Tue, 12 Dec 2006 16:39:40 -0500 [thread overview]
Message-ID: <1165959580.26937.10.camel@localhost.localdomain> (raw)
In-Reply-To: <Pine.LNX.4.64N.0611230232160.18515@attu4.cs.washington.edu>
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;
prev parent reply other threads:[~2006-12-12 21:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-23 10:12 kernel/hrtimer.c(511): remark #593: variable "base" was set but never used d binderman
2006-11-23 10:33 ` [PATCH] hrtimer: remove unused variable David Rientjes
2006-12-12 21:39 ` Steven Rostedt [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1165959580.26937.10.camel@localhost.localdomain \
--to=rostedt@goodmis.org \
--cc=dcb314@hotmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rientjes@cs.washington.edu \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox