[PATCH v2 2/6] sched/numa: drop idx field of task_numa_env struct

From: Wanpeng Li
Date: Fri Dec 06 2013 - 04:13:15 EST


Drop unused idx field of task_numa_env struct.

Reviewed-by: Rik van Riel <riel@xxxxxxxxxx>
Reviewed-by: Naoya Horiguchi <n-horiguchi@xxxxxxxxxxxxx>
Signed-off-by: Wanpeng Li <liwanp@xxxxxxxxxxxxxxxxxx>
---
kernel/sched/fair.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index fd773ad..ea3fd1e 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -1037,7 +1037,7 @@ struct task_numa_env {

struct numa_stats src_stats, dst_stats;

- int imbalance_pct, idx;
+ int imbalance_pct;

struct task_struct *best_task;
long best_imp;
--
1.7.7.6

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/