diff options
-rw-r--r-- | litmus/sched_mc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/litmus/sched_mc.c b/litmus/sched_mc.c index 5700d21250d2..53b475e840f0 100644 --- a/litmus/sched_mc.c +++ b/litmus/sched_mc.c | |||
@@ -1013,9 +1013,6 @@ static struct task_struct* mc_schedule(struct task_struct* prev) | |||
1013 | raw_spin_unlock(&entry->lock); | 1013 | raw_spin_unlock(&entry->lock); |
1014 | raw_spin_lock(dom->lock); | 1014 | raw_spin_lock(dom->lock); |
1015 | 1015 | ||
1016 | /* Peek at task here to avoid lock use */ | ||
1017 | while (!cache_next(dom)); | ||
1018 | |||
1019 | /* Do domain stuff before grabbing CPU locks */ | 1016 | /* Do domain stuff before grabbing CPU locks */ |
1020 | dtask = dom->peek_ready(dom); | 1017 | dtask = dom->peek_ready(dom); |
1021 | fix_crit_position(ce); | 1018 | fix_crit_position(ce); |