diff mbox

[U-Boot] lib/time - remove obsolete code

Message ID 1386594056-3459-1-git-send-email-abrodkin@synopsys.com
State Deferred
Delegated to: Tom Rini
Headers show

Commit Message

Alexey Brodkin Dec. 9, 2013, 1 p.m. UTC
Seems like this is a reminder of some legacy stuff.
Definitely of no use now.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>

Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Mischa Jonker <mjonker@synopsys.com>
---
 lib/time.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox

Patch

diff --git a/lib/time.c b/lib/time.c
index 80003c3..c47bff7 100644
--- a/lib/time.c
+++ b/lib/time.c
@@ -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;
 }