From: Carlos R. Mafra Date: Thu, 22 May 2008 22:25:11 +0000 (-0300) Subject: hrtimer: Remove unused variables in ktime_divns() X-Git-Tag: v2.6.27-rc1~1081^2^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=900cfa46191a7d87cf1891924cb90499287fd235;p=linux-2.6-omap-h63xx.git hrtimer: Remove unused variables in ktime_divns() The variables dns and inc are not used, remove them. Signed-off-by: Carlos R. Mafra Cc: tglx@linutronix.de Signed-off-by: Thomas Gleixner --- diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c index 493c4b8b8cb..635739d219d 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++;