summaryrefslogtreecommitdiff
path: root/kernel/hrtimer.c
diff options
context:
space:
mode:
authorCarlos R. Mafra <crmafra2@gmail.com>2008-05-23 02:25:11 +0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-27 01:26:55 +0400
commit900cfa46191a7d87cf1891924cb90499287fd235 (patch)
tree0a534ca9ba4266ae053c5554ab756613cee3c3f5 /kernel/hrtimer.c
parentd031476408ae0f5196e3c579f519dfdefb099b67 (diff)
downloadlinux-900cfa46191a7d87cf1891924cb90499287fd235.tar.xz
hrtimer: Remove unused variables in ktime_divns()
The variables dns and inc are not used, remove them. Signed-off-by: Carlos R. Mafra <crmafra@gmail.com> Cc: tglx@linutronix.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/hrtimer.c')
-rw-r--r--kernel/hrtimer.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c
index 493c4b8b8cba..635739d219da 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++;