summaryrefslogtreecommitdiffstats
path: root/include/linux/cgroup.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2014-02-13 06:58:43 -0500
committerTejun Heo <tj@kernel.org>2014-02-13 06:58:43 -0500
commitbc668c7519ff8b4681af80e92f463bec7bf7cf9e (patch)
treef2940d003d0cb3d2395d5f7d12524e968839add2 /include/linux/cgroup.h
parent57fce0a68e3aa71d223d9023aae66c7393970c34 (diff)
downloadlinux-stable-bc668c7519ff8b4681af80e92f463bec7bf7cf9e.tar.gz
linux-stable-bc668c7519ff8b4681af80e92f463bec7bf7cf9e.tar.bz2
linux-stable-bc668c7519ff8b4681af80e92f463bec7bf7cf9e.zip
cgroup: remove cgroup_taskset_cur_css() and cgroup_taskset_size()
The two functions don't have any users left. Remove them along with cgroup_taskset->cur_cgrp. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com>
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 581a124c7bc8..ef0b3af0e61c 100644
--- a/include/linux/cgroup.h
+++ b/include/linux/cgroup.h
@@ -528,9 +528,6 @@ bool cgroup_is_descendant(struct cgroup *cgrp, struct cgroup *ancestor);
struct cgroup_taskset;
struct task_struct *cgroup_taskset_first(struct cgroup_taskset *tset);
struct task_struct *cgroup_taskset_next(struct cgroup_taskset *tset);
-struct cgroup_subsys_state *cgroup_taskset_cur_css(struct cgroup_taskset *tset,
- int subsys_id);
-int cgroup_taskset_size(struct cgroup_taskset *tset);
/**
* cgroup_taskset_for_each - iterate cgroup_taskset