i2c: bcm-kona: Use complete() instead of complete_all()
[cascardo/linux.git] / kernel / cpuset.c
index 73e93e5..c7fd277 100644 (file)
@@ -1034,15 +1034,6 @@ static void cpuset_change_task_nodemask(struct task_struct *tsk,
 {
        bool need_loop;
 
-       /*
-        * Allow tasks that have access to memory reserves because they have
-        * been OOM killed to get memory anywhere.
-        */
-       if (unlikely(test_thread_flag(TIF_MEMDIE)))
-               return;
-       if (current->flags & PF_EXITING) /* Let dying task have memory */
-               return;
-
        task_lock(tsk);
        /*
         * Determine if a loop is necessary if another thread is doing