mm/oom_kill: remove unneeded is_memcg_oom check
[linux-2.6-microblaze.git] / mm / oom_kill.c
index 832fb33..4db425e 100644 (file)
@@ -93,9 +93,6 @@ static bool oom_cpuset_eligible(struct task_struct *start,
        bool ret = false;
        const nodemask_t *mask = oc->nodemask;
 
-       if (is_memcg_oom(oc))
-               return true;
-
        rcu_read_lock();
        for_each_thread(start, tsk) {
                if (mask) {