summaryrefslogtreecommitdiff
path: root/kernel/cgroup.c
diff options
context:
space:
mode:
authorVarun Wadekar <vwadekar@nvidia.com>2012-04-16 15:41:58 +0530
committerVarun Wadekar <vwadekar@nvidia.com>2012-04-16 15:41:58 +0530
commita7f657c631f199ab2bbc348cb0f1ea353a4df712 (patch)
treefd9e4d8fef782c40834e12536e42234bd638931c /kernel/cgroup.c
parent040d8b693307598ca6af82a4e5d9bd97a5742228 (diff)
cgroup: fix compilations issues with 3.4
Change-Id: I156a2ba21aa973ee6b528f222861742b2af91341 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'kernel/cgroup.c')
-rw-r--r--kernel/cgroup.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index 6c0e1c129534..15db92d351d1 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -440,14 +440,6 @@ static void put_css_set(struct css_set *cg)
call_rcu(&cg->rcu_head, free_css_set_rcu);
}
-static void free_css_set_rcu(struct rcu_head *obj)
-{
- struct css_set *cg = container_of(obj, struct css_set, rcu_head);
-
- INIT_WORK(&cg->work, free_css_set_work);
- schedule_work(&cg->work);
-}
-
/* We don't maintain the lists running through each css_set to its
* task until after the first call to cgroup_iter_start(). This
* reduces the fork()/exit() overhead for people who have cgroups