sched/fair: Remove unused max_vruntime()
RFC 1/1 sched/fair: Remove unused max_vruntime()
Since commit af4cf40470c2("sched/fair: Add cfs_rq::avg_vruntime") max_vruntime() became an unused function, remove it.
Signed-off-by Benjamin Tang <[email protected]>
---
kernel/sched/fair.c | 9 ---------
1 file changed, 9 deletions(-)
kernel/sched/fair.c +0 -0
@@ -523,15 +523,6 @@ void account_cfs_rq_runtime(struct cfs_rq *cfs_rq, u64 delta_exec);
* Scheduling class tree data structure manipulation methods:
*/
-static inline u64 max_vruntime(u64 max_vruntime, u64 vruntime) -{
- s64 delta = (s64)(vruntime - max_vruntime);
- if (delta > 0)
- max_vruntime = vruntime;
-
- return max_vruntime;
-}
-
static inline u64 min_vruntime(u64 min_vruntime, u64 vruntime) {
s64 delta = (s64)(vruntime - min_vruntime);
--
2.11.0