sched: Remove unused inline function __rq_clock_broken()
authorYueHaibing <yuehaibing@huawei.com>
Tue, 14 Sep 2021 09:52:44 +0000 (17:52 +0800)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 5 Oct 2021 13:51:55 +0000 (15:51 +0200)
These is no caller in tree since commit
523e979d3164 ("sched/core: Use PELT for scale_rt_capacity()")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20210914095244.52780-1-yuehaibing@huawei.com
kernel/sched/sched.h

index 8712fc4..198058b 100644 (file)
@@ -1426,11 +1426,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
  *