summaryrefslogtreecommitdiffstats
path: root/kernel/sched
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2021-09-14 11:52:44 +0200
committerPeter Zijlstra <peterz@infradead.org>2021-10-05 15:51:55 +0200
commit32ed980c3020b7a19e26dc488c10817807ba2a41 (patch)
treea34a8c05c4dccc3adc502b1afcd64a13642d3039 /kernel/sched
parentsched/dl: Support schedstats for deadline sched class (diff)
downloadlinux-32ed980c3020b7a19e26dc488c10817807ba2a41.tar.xz
linux-32ed980c3020b7a19e26dc488c10817807ba2a41.zip
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@huawei.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20210914095244.52780-1-yuehaibing@huawei.com
Diffstat (limited to 'kernel/sched')
-rw-r--r--kernel/sched/sched.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index 8712fc431417..198058bb54d7 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
*