diff options
Diffstat (limited to 'lib/time.c')
-rw-r--r-- | lib/time.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/time.c b/lib/time.c index f37a6628d6e..e9f6861b984 100644 --- a/lib/time.c +++ b/lib/time.c @@ -41,23 +41,6 @@ extern unsigned long __weak timer_read_counter(void); #endif #ifdef CONFIG_TIMER -static int notrace dm_timer_init(void) -{ - struct udevice *dev; - int ret; - - if (!gd->timer) { - ret = uclass_first_device(UCLASS_TIMER, &dev); - if (ret) - return ret; - if (!dev) - return -ENODEV; - gd->timer = dev; - } - - return 0; -} - ulong notrace get_tbclk(void) { int ret; |