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

Commit 08354716 authored by Hillf Danton's avatar Hillf Danton Committed by Ingo Molnar
Browse files

sched: Remove noop in lowest_flag_domain()



Checking for the validity of sd is removed, since it is already
checked by the for_each_domain macro.

Signed-off-by: default avatarHillf Danton <dhillf@gmail.com>
Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/BANLkTimT+Tut-3TshCDm-NiLLXrOznibNA@mail.gmail.com


Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 67d95538
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3660,7 +3660,7 @@ static inline struct sched_domain *lowest_flag_domain(int cpu, int flag)
	struct sched_domain *sd;

	for_each_domain(cpu, sd)
		if (sd && (sd->flags & flag))
		if (sd->flags & flag)
			break;

	return sd;