Skip to content

Commit

Permalink
sched: Remove unused inline function __rq_clock_broken()
Browse files Browse the repository at this point in the history
These is no caller in tree since commit
523e979 ("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
  • Loading branch information
YueHaibing authored and Peter Zijlstra committed Oct 5, 2021
1 parent b5eb4a5 commit 32ed980
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions kernel/sched/sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down

0 comments on commit 32ed980

Please sign in to comment.