|
@@ -1313,7 +1313,7 @@ static struct sched_group *
|
|
|
find_idlest_group(struct sched_domain *sd, struct task_struct *p,
|
|
|
int this_cpu, int load_idx)
|
|
|
{
|
|
|
- struct sched_group *idlest = NULL, *this = NULL, *group = sd->groups;
|
|
|
+ struct sched_group *idlest = NULL, *group = sd->groups;
|
|
|
unsigned long min_load = ULONG_MAX, this_load = 0;
|
|
|
int imbalance = 100 + (sd->imbalance_pct-100)/2;
|
|
|
|
|
@@ -1348,7 +1348,6 @@ find_idlest_group(struct sched_domain *sd, struct task_struct *p,
|
|
|
|
|
|
if (local_group) {
|
|
|
this_load = avg_load;
|
|
|
- this = group;
|
|
|
} else if (avg_load < min_load) {
|
|
|
min_load = avg_load;
|
|
|
idlest = group;
|