diff options
author | YueHaibing <yuehaibing@huawei.com> | 2021-09-14 17:52:44 +0800 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-10-05 15:51:55 +0200 |
commit | 32ed980c3020b7a19e26dc488c10817807ba2a41 (patch) | |
tree | a34a8c05c4dccc3adc502b1afcd64a13642d3039 /kernel/sched | |
parent | b5eb4a5f6521d58d5564b8746701bd67a92a2b11 (diff) | |
download | linux-32ed980c3020b7a19e26dc488c10817807ba2a41.tar.bz2 |
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.h | 5 |
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 * |