projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d031476
)
hrtimer: Remove unused variables in ktime_divns()
author
Carlos R. Mafra
<crmafra2@gmail.com>
Thu, 22 May 2008 22:25:11 +0000
(19:25 -0300)
committer
Thomas Gleixner
<tglx@linutronix.de>
Mon, 26 May 2008 21:26:55 +0000
(23:26 +0200)
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>
kernel/hrtimer.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/hrtimer.c
b/kernel/hrtimer.c
index 493c4b8b8cbabaecff8262592bb7207979c74a2d..635739d219daa4a74d2249e11cc142c559295578 100644
(file)
--- 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++;