[tip: sched/core] sched: Remove unused inline function __rq_clock_broken()

From: tip-bot2 for YueHaibing
Date: Thu Sep 16 2021 - 07:59:36 EST


The following commit has been merged into the sched/core branch of tip:

Commit-ID: 33effaafbaf9c0070eac69a362120f4d1c26b5cf
Gitweb: https://git.kernel.org/tip/33effaafbaf9c0070eac69a362120f4d1c26b5cf
Author: YueHaibing <yuehaibing@xxxxxxxxxx>
AuthorDate: Tue, 14 Sep 2021 17:52:44 +08:00
Committer: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
CommitterDate: Wed, 15 Sep 2021 17:49:01 +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 1d8bc76..eacc15d 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
*