sched: remove the 'u64 now' parameter from put_prev_entity()
remove the 'u64 now' parameter from put_prev_entity(). ( identity transformation that causes no change in functionality. ) Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
9948f4b2a7
commit
ab6cde2692
1 changed files with 2 additions and 3 deletions
|
@ -647,8 +647,7 @@ static struct sched_entity *pick_next_entity(struct cfs_rq *cfs_rq)
|
||||||
return se;
|
return se;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void put_prev_entity(struct cfs_rq *cfs_rq, struct sched_entity *prev)
|
||||||
put_prev_entity(struct cfs_rq *cfs_rq, struct sched_entity *prev, u64 now)
|
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* If still on the runqueue then deactivate_task()
|
* If still on the runqueue then deactivate_task()
|
||||||
|
@ -888,7 +887,7 @@ static void put_prev_task_fair(struct rq *rq, struct task_struct *prev, u64 now)
|
||||||
|
|
||||||
for_each_sched_entity(se) {
|
for_each_sched_entity(se) {
|
||||||
cfs_rq = cfs_rq_of(se);
|
cfs_rq = cfs_rq_of(se);
|
||||||
put_prev_entity(cfs_rq, se, now);
|
put_prev_entity(cfs_rq, se);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue