sched/numa: Remove unused numa_stats::nr_running field
[linux-2.6-microblaze.git] / kernel / sched / fair.c
index b65596f..6bd142d 100644 (file)
@@ -1454,8 +1454,6 @@ struct numa_stats {
 
        /* Total compute capacity of CPUs on a node */
        unsigned long compute_capacity;
-
-       unsigned int nr_running;
 };
 
 /*
@@ -1469,7 +1467,6 @@ static void update_numa_stats(struct numa_stats *ns, int nid)
        for_each_cpu(cpu, cpumask_of_node(nid)) {
                struct rq *rq = cpu_rq(cpu);
 
-               ns->nr_running += rq->nr_running;
                ns->load += weighted_cpuload(rq);
                ns->compute_capacity += capacity_of(cpu);
        }