summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorYonggang Luo <[email protected]>2025-09-27 08:11:53 +0800
committerR b b666 <[email protected]>2025-10-21 10:25:41 +0800
commitd3e0a532036c0031c2a000cdc14e536e747abbfd (patch)
tree834cff0f6377467492480919fd6f1eaeda847541 /bsp
parent1efceab0711f741c649730dd5c6c04ab96881bad (diff)
Remove rt_ktime_hrtimer_getcnt for hrtimer
There is no user of it and also the return type is mismatch
Diffstat (limited to 'bsp')
-rw-r--r--bsp/rockchip/rk3500/driver/hwtimer/hwtimer-rockchip_timer.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/bsp/rockchip/rk3500/driver/hwtimer/hwtimer-rockchip_timer.c b/bsp/rockchip/rk3500/driver/hwtimer/hwtimer-rockchip_timer.c
index b5213efa8a..33ad9cd51b 100644
--- a/bsp/rockchip/rk3500/driver/hwtimer/hwtimer-rockchip_timer.c
+++ b/bsp/rockchip/rk3500/driver/hwtimer/hwtimer-rockchip_timer.c
@@ -338,11 +338,6 @@ uint64_t rt_ktime_hrtimer_getres(void)
return ((1000UL * 1000 * 1000) * RT_KTIME_RESMUL) / (24 * 1000 * 1000UL);
}
-uint64_t rt_ktime_hrtimer_getcnt(void)
-{
- return rk_timer_current_value(_timer0.timer);
-}
-
/**
* @brief set the timeout function for hrtimer framework
*