From 07b9150a14ded54652ffdb54074a0cdca2683576 Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Mon, 7 Jan 2013 08:51:07 -0800 Subject: [PATCH] --- yaml --- r: 350337 b: refs/heads/master c: 0772324ae669f787b42fdb9fc5ac2c3d1c0df509 h: refs/heads/master i: 350335: 1f00c4633bfeb95197737053cf2539a061ad5d8e v: v3 --- [refs] | 2 +- trunk/kernel/cpuset.c | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/[refs] b/[refs] index 0f532289cd34..ad75f8a4e0e8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 01c889cf4f2e16c9a21376f8583f4a2872d7d1da +refs/heads/master: 0772324ae669f787b42fdb9fc5ac2c3d1c0df509 diff --git a/trunk/kernel/cpuset.c b/trunk/kernel/cpuset.c index 854b8bfbc15c..5372b6f5e5b3 100644 --- a/trunk/kernel/cpuset.c +++ b/trunk/kernel/cpuset.c @@ -1967,14 +1967,6 @@ static void remove_tasks_in_empty_cpuset(struct cpuset *cs) { struct cpuset *parent; - /* - * The cgroup's css_sets list is in use if there are tasks - * in the cpuset; the list is empty if there are none; - * the cs->css.refcnt seems always 0. - */ - if (list_empty(&cs->css.cgroup->css_sets)) - return; - /* * Find its next-highest non-empty parent, (top cpuset * has online cpus, so can't be empty).