sched/topology: Simplify build_overlap_sched_groups()
authorPeter Zijlstra <peterz@infradead.org>
Fri, 14 Apr 2017 15:32:07 +0000 (17:32 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 15 May 2017 08:15:24 +0000 (10:15 +0200)
commit91eaed0d61319f58a9f8e43d41a8cbb069b4f73d
tree1e2e6ef534609f5bed4cbdcce180ed51b7bd6e00
parent0372dd2736e02672ac6e189c31f7d8c02ad543cd
sched/topology: Simplify build_overlap_sched_groups()

Now that the first group will always be the previous domain of this
@cpu this can be simplified.

In fact, writing the code now removed should've been a big clue I was
doing it wrong :/

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/topology.c