The following commit has been merged into the sched/core branch of tip: Commit-ID: 32ed980c3020b7a19e26dc488c10817807ba2a41 Gitweb: https://git.kernel.org/tip/32ed980c3020b7a19e26dc488c10817807ba2a41 Author: YueHaibing <yuehaibing@xxxxxxxxxx> AuthorDate: Tue, 14 Sep 2021 17:52:44 +08:00 Committer: Peter Zijlstra <peterz@xxxxxxxxxxxxx> CommitterDate: Tue, 05 Oct 2021 15:51:55 +02:00 sched: Remove unused inline function __rq_clock_broken() These is no caller in tree since commit 523e979d3164 ("sched/core: Use PELT for scale_rt_capacity()") Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx> Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx> Link: https://lkml.kernel.org/r/20210914095244.52780-1-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 8712fc4..198058b 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -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 *
![]() |