aboutsummaryrefslogtreecommitdiff
path: root/kernel/sched/sched.h
diff options
context:
space:
mode:
authorVincent Guittot <vincent.guittot@linaro.org>2015-03-03 11:35:03 +0100
committerJuri Lelli <juri.lelli@arm.com>2015-10-05 11:56:28 +0100
commit4d70c175ab700e92f06a2394930f5cf2ad61a675 (patch)
tree9d47444be24f01c07a047d173c662fb0c6e52dec /kernel/sched/sched.h
parent1171049f99093592b4905a50b72bf7fc68706242 (diff)
UPSTREAM: sched: Remove unused struct sched_group_capacity::capacity_orig
The 'struct sched_group_capacity::capacity_orig' field is no longer used in the scheduler so we can remove it. Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Morten.Rasmussen@arm.com Cc: dietmar.eggemann@arm.com Cc: efault@gmx.de Cc: kamalesh@linux.vnet.ibm.com Cc: linaro-kernel@lists.linaro.org Cc: nicolas.pitre@linaro.org Cc: preeti@linux.vnet.ibm.com Cc: riel@redhat.com Link: http://lkml.kernel.org/r/1425378903-5349-1-git-send-email-vincent.guittot@linaro.org Signed-off-by: Ingo Molnar <mingo@kernel.org> (am from https://patchwork.kernel.org/patch/5921091) Signed-off-by: Juri Lelli <juri.lelli@arm.com> BUG=chromium:48849 TEST=build and boot tested Change-Id: Iec000cf95c905771968ac1d21b4cee39dd440107 Reviewed-on: https://chromium-review.googlesource.com/271863 Reviewed-by: Ricky Liang <jcliang@chromium.org> Tested-by: Ricky Liang <jcliang@chromium.org> Commit-Queue: Ricky Liang <jcliang@chromium.org> Trybot-Ready: Ricky Liang <jcliang@chromium.org>
Diffstat (limited to 'kernel/sched/sched.h')
-rw-r--r--kernel/sched/sched.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index 1e51e72c015f..e8af4beb48f0 100644
--- a/kernel/sched/sched.h
+++ b/kernel/sched/sched.h
@@ -759,7 +759,7 @@ struct sched_group_capacity {
* CPU capacity of this group, SCHED_LOAD_SCALE being max capacity
* for a single CPU.
*/
- unsigned int capacity, capacity_orig;
+ unsigned int capacity;
unsigned long next_update;
int imbalance; /* XXX unrelated to capacity but shared group state */
/*