Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 900cfa46 authored by Carlos R. Mafra's avatar Carlos R. Mafra Committed by Thomas Gleixner
Browse files

hrtimer: Remove unused variables in ktime_divns()



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

Signed-off-by: default avatarCarlos R. Mafra <crmafra@gmail.com>
Cc: tglx@linutronix.de
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent d0314764
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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++;