Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2396af69 authored by Ingo Molnar's avatar Ingo Molnar
Browse files

sched: remove the 'u64 now' parameter from enqueue_sleeper()



remove the 'u64 now' parameter from enqueue_sleeper().

( identity transformation that causes no change in functionality. )

Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent dfdc119e
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -520,8 +520,7 @@ static void __enqueue_sleeper(struct cfs_rq *cfs_rq, struct sched_entity *se)
	schedstat_add(cfs_rq, wait_runtime, se->wait_runtime);
}

static void
enqueue_sleeper(struct cfs_rq *cfs_rq, struct sched_entity *se, u64 now)
static void enqueue_sleeper(struct cfs_rq *cfs_rq, struct sched_entity *se)
{
	struct task_struct *tsk = task_of(se);
	unsigned long delta_fair;
@@ -580,7 +579,7 @@ enqueue_entity(struct cfs_rq *cfs_rq, struct sched_entity *se,
	update_curr(cfs_rq);

	if (wakeup)
		enqueue_sleeper(cfs_rq, se, now);
		enqueue_sleeper(cfs_rq, se);

	update_stats_enqueue(cfs_rq, se);
	__enqueue_entity(cfs_rq, se);