|
@@ -6613,11 +6613,6 @@ static void __cond_resched(void)
|
|
|
#ifdef CONFIG_DEBUG_SPINLOCK_SLEEP
|
|
|
__might_sleep(__FILE__, __LINE__);
|
|
|
#endif
|
|
|
- /*
|
|
|
- * The BKS might be reacquired before we have dropped
|
|
|
- * PREEMPT_ACTIVE, which could trigger a second
|
|
|
- * cond_resched() call.
|
|
|
- */
|
|
|
add_preempt_count(PREEMPT_ACTIVE);
|
|
|
schedule();
|
|
|
sub_preempt_count(PREEMPT_ACTIVE);
|