Skip to contentSkip to conversation

lib/time - remove obsolete code

PATCH New Alexey Brodkin 1 participant 1 message Dec 9, 2013 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lib/time - remove obsolete code

Seems like this is a reminder of some legacy stuff. Definitely of no use now.

Cc Rob Herring <[email protected]>
Cc Mischa Jonker <[email protected]>
---
 lib/time.c | 1 -
 1 file changed, 1 deletion(-)
lib/time.c +0 -1
index 80003c3..c47bff7 100644
@@ -72,7 +72,6 @@ unsigned long __weak notrace timer_get_us(void)
 static unsigned long long usec_to_tick(unsigned long usec)
 {
 	uint64_t tick = (uint64_t)usec * get_tbclk();
-	usec *= get_tbclk();
 	do_div(tick, 1000000);
 	return tick;
 }
Signature · 1 line
1.8.4.2