diff options
Diffstat (limited to 'kernel/sched_fair.c')
-rw-r--r-- | kernel/sched_fair.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c index 2ff850f90d1e..d7fda41ddaf0 100644 --- a/kernel/sched_fair.c +++ b/kernel/sched_fair.c | |||
@@ -1305,8 +1305,6 @@ static int select_task_rq_fair(struct task_struct *p, int sync) | |||
1305 | this_rq = cpu_rq(this_cpu); | 1305 | this_rq = cpu_rq(this_cpu); |
1306 | new_cpu = prev_cpu; | 1306 | new_cpu = prev_cpu; |
1307 | 1307 | ||
1308 | if (prev_cpu == this_cpu) | ||
1309 | goto out; | ||
1310 | /* | 1308 | /* |
1311 | * 'this_sd' is the first domain that both | 1309 | * 'this_sd' is the first domain that both |
1312 | * this_cpu and prev_cpu are present in: | 1310 | * this_cpu and prev_cpu are present in: |