summaryrefslogtreecommitdiffstats
path: root/include/linux/cgroup.h
diff options
context:
space:
mode:
authorLi Zefan <lizefan@huawei.com>2013-03-12 15:35:58 -0700
committerTejun Heo <tj@kernel.org>2013-03-12 15:35:58 -0700
commite7b2dcc52b0e2d598a469f01cc460ccdde6869f2 (patch)
treec716655a75a9f91de5f21f94fe53e96fbf680fe9 /include/linux/cgroup.h
parentcfb5966bef85412dab9c93553db10b3e99ac32e8 (diff)
downloadlinux-e7b2dcc52b0e2d598a469f01cc460ccdde6869f2.tar.gz
linux-e7b2dcc52b0e2d598a469f01cc460ccdde6869f2.tar.bz2
linux-e7b2dcc52b0e2d598a469f01cc460ccdde6869f2.zip
cgroup: remove cgroup_is_descendant()
It was used by ns cgroup, and ns cgroup was removed long ago. Signed-off-by: Li Zefan <lizefan@huawei.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/cgroup.h')
-rw-r--r--include/linux/cgroup.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index 5f76829dd75e..7e818a3ef60a 100644
--- a/include/linux/cgroup.h
+++ b/include/linux/cgroup.h
@@ -448,9 +448,6 @@ int cgroup_path(const struct cgroup *cgrp, char *buf, int buflen);
int cgroup_task_count(const struct cgroup *cgrp);
-/* Return true if cgrp is a descendant of the task's cgroup */
-int cgroup_is_descendant(const struct cgroup *cgrp, struct task_struct *task);
-
/*
* Control Group taskset, used to pass around set of tasks to cgroup_subsys
* methods.