diff options
-rw-r--r-- | kernel/sched.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 456c99054160..297d1a0eedb0 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -4128,7 +4128,6 @@ need_resched_nonpreemptible: | |||
4128 | rq->nr_switches++; | 4128 | rq->nr_switches++; |
4129 | rq->curr = next; | 4129 | rq->curr = next; |
4130 | ++*switch_count; | 4130 | ++*switch_count; |
4131 | WARN_ON_ONCE(test_tsk_need_resched(next)); | ||
4132 | 4131 | ||
4133 | context_switch(rq, prev, next); /* unlocks the rq */ | 4132 | context_switch(rq, prev, next); /* unlocks the rq */ |
4134 | /* | 4133 | /* |