[tip: sched/core] sched/core: Remove for_each_lower_domain()

From: tip-bot2 for Valentin Schneider
Date: Tue Feb 11 2020 - 07:48:15 EST


The following commit has been merged into the sched/core branch of tip:

Commit-ID: afbcf99785a580e2cc089646e971deceb31a18b1
Gitweb: https://git.kernel.org/tip/afbcf99785a580e2cc089646e971deceb31a18b1
Author: Valentin Schneider <valentin.schneider@xxxxxxx>
AuthorDate: Thu, 06 Feb 2020 19:19:56
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitterDate: Tue, 11 Feb 2020 13:03:35 +01:00

sched/core: Remove for_each_lower_domain()

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

Suggested-by: Dietmar Eggemann <dietmar.eggemann@xxxxxxx>
Signed-off-by: Valentin Schneider <valentin.schneider@xxxxxxx>
Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
Reviewed-by: Quentin Perret <qperret@xxxxxxxxxx>
Link: https://lkml.kernel.org/r/20200206191957.12325-4-valentin.schneider@xxxxxxx
---
kernel/sched/sched.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index 0844e81..878910e 100644
--- a/kernel/sched/sched.h
+++ b/kernel/sched/sched.h
@@ -1337,8 +1337,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