diff --git a/kernel/sched.c b/kernel/sched.c
index 456c99054160a773fa6736005397a3bc138f6902..297d1a0eedb0e68d8b9327f530ba477c93b1222e 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -4128,7 +4128,6 @@ need_resched_nonpreemptible:
 		rq->nr_switches++;
 		rq->curr = next;
 		++*switch_count;
-		WARN_ON_ONCE(test_tsk_need_resched(next));
 
 		context_switch(rq, prev, next); /* unlocks the rq */
 		/*