Commit fbb66ce0 authored by Wang Jinchao's avatar Wang Jinchao Committed by Ingo Molnar
Browse files

sched/fair: Remove unused 'next_buddy_marked' local variable in check_preempt_wakeup_fair()



This variable became unused in:

    5e963f2b ("sched/fair: Commit to EEVDF")

Signed-off-by: default avatarWang Jinchao <wangjinchao@xfusion.com>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Reviewed-by: default avatarVincent Guittot <vincent.guittot@linaro.org>
Link: https://lore.kernel.org/r/202312141319+0800-wangjinchao@xfusion.com
parent 3af7524b
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -8221,7 +8221,6 @@ static void check_preempt_wakeup_fair(struct rq *rq, struct task_struct *p, int
	struct task_struct *curr = rq->curr;
	struct sched_entity *se = &curr->se, *pse = &p->se;
	struct cfs_rq *cfs_rq = task_cfs_rq(curr);
	int next_buddy_marked = 0;
	int cse_is_idle, pse_is_idle;

	if (unlikely(se == pse))
@@ -8238,7 +8237,6 @@ static void check_preempt_wakeup_fair(struct rq *rq, struct task_struct *p, int

	if (sched_feat(NEXT_BUDDY) && !(wake_flags & WF_FORK)) {
		set_next_buddy(pse);
		next_buddy_marked = 1;
	}

	/*