mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
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>
This commit is contained in:
parent
d031476408
commit
900cfa4619
1 changed files with 2 additions and 3 deletions
|
@ -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++;
|
||||
|
|
Loading…
Reference in a new issue