UPSTREAM: sched/core: Remove for_each_lower_domain()

The last remaining user of this macro has just been removed, get rid of it.

Bug: 120440300
Suggested-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Signed-off-by: Valentin Schneider <valentin.schneider@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Quentin Perret <qperret@google.com>
Link: https://lkml.kernel.org/r/20200206191957.12325-4-valentin.schneider@arm.com
(cherry picked from commit afbcf99785a580e2cc089646e971deceb31a18b1)
Signed-off-by: Valentin Schneider <valentin.schneider@arm.com>
Change-Id: I554858a5dc278e666c47fb968942bc0ced8b94e8
This commit is contained in:
Valentin Schneider 2020-02-06 19:19:56 +00:00 • committed by Quentin Perret
commit 7874cf9c9f

View file

@ -1347,8 +1347,6 @@ extern void sched_ttwu_pending(void);
for (__sd = rcu_dereference_check_sched_domain(cpu_rq(cpu)->sd); \
__sd; __sd = __sd->parent)
#define for_each_lower_domain(sd) for (; sd; sd = sd->child)
/**
* highest_flag_domain - Return highest sched_domain containing flag.
* @cpu: The CPU whose highest level of sched domain is to