[PATCH -next] sched: Remove unused inline function __rq_clock_broken()
From: YueHaibing
Date: Tue Sep 14 2021 - 05:53:03 EST
These is no caller in tree since commit
523e979d3164 ("sched/core: Use PELT for scale_rt_capacity()")
Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
---
kernel/sched/sched.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index 43e7fbe06557..4bca12681802 100644
--- a/kernel/sched/sched.h
+++ b/kernel/sched/sched.h
@@ -1424,11 +1424,6 @@ static inline struct cfs_rq *group_cfs_rq(struct sched_entity *grp)
extern void update_rq_clock(struct rq *rq);
-static inline u64 __rq_clock_broken(struct rq *rq)
-{
- return READ_ONCE(rq->clock);
-}
-
/*
* rq::clock_update_flags bits
*
--
2.17.1