cgroup: fix compilations issues with 3.4
Varun Wadekar [Mon, 16 Apr 2012 10:11:58 +0000 (15:11 +0530)]
Change-Id: I156a2ba21aa973ee6b528f222861742b2af91341
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

kernel/cgroup.c

index 6c0e1c1..15db92d 100644 (file)
@@ -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