mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] hrtimer: Remove unused variables in ktime_divns()
@ 2008-05-22 22:25 Carlos R. Mafra
  2008-05-27 15:38 ` Thomas Gleixner
  0 siblings, 1 reply; 2+ messages in thread
From: Carlos R. Mafra @ 2008-05-22 22:25 UTC (permalink / raw)
  To: tglx; +Cc: linux-kernel


The variables dns and inc are not used, remove them.

Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
---
 kernel/hrtimer.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c
index 421be5f..001cac2 100644
--- a/kernel/hrtimer.c
+++ b/kernel/hrtimer.c
@@ -300,11 +300,10 @@ EXPORT_SYMBOL_GPL(ktime_sub_ns);
  */
 u64 ktime_divns(const ktime_t kt, s64 div)
 {
-	u64 dclc, inc, dns;
+	u64 dclc;
 	int sft = 0;
 
-	dclc = dns = ktime_to_ns(kt);
-	inc = div;
+	dclc = ktime_to_ns(kt);
 	/* Make sure the divisor is less than 2^32: */
 	while (div >> 32) {
 		sft++;
-- 
1.5.5.GIT


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-27 15:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-22 22:25 [PATCH] hrtimer: Remove unused variables in ktime_divns() Carlos R. Mafra
2008-05-27 15:38 ` Thomas Gleixner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®