[tip: sched/core] sched/core: Remove for_each_lower_domain()
From: tip-bot2 for Valentin Schneider
Date: Thu Feb 20 2020 - 15:09:26 EST
The following commit has been merged into the sched/core branch of tip:
Commit-ID: f8459197e75b045d8d1d87b9856486b39e375721
Gitweb: https://git.kernel.org/tip/f8459197e75b045d8d1d87b9856486b39e375721
Author: Valentin Schneider <valentin.schneider@xxxxxxx>
AuthorDate: Thu, 06 Feb 2020 19:19:56
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitterDate: Thu, 20 Feb 2020 21:03:15 +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>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
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