[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <163190382071.25758.6548863054688812006.tip-bot2@tip-bot2>
Date: Fri, 17 Sep 2021 18:37:00 -0000
From: "tip-bot2 for YueHaibing" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: YueHaibing <yuehaibing@...wei.com>,
"Peter Zijlstra (Intel)" <peterz@...radead.org>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: [tip: sched/core] sched: Remove unused inline function __rq_clock_broken()
The following commit has been merged into the sched/core branch of tip:
Commit-ID: e23bc1e6d52e9b9ecca895b408a4eca742caed16
Gitweb: https://git.kernel.org/tip/e23bc1e6d52e9b9ecca895b408a4eca742caed16
Author: YueHaibing <yuehaibing@...wei.com>
AuthorDate: Tue, 14 Sep 2021 17:52:44 +08:00
Committer: Peter Zijlstra <peterz@...radead.org>
CommitterDate: Fri, 17 Sep 2021 20:32:26 +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@...wei.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@...radead.org>
Link: https://lkml.kernel.org/r/20210914095244.52780-1-yuehaibing@huawei.com
---
kernel/sched/sched.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index 094ea86..148d5d3 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
*
Powered by blists - more mailing lists