diff options
author | Tejun Heo <tj@kernel.org> | 2014-02-13 06:58:40 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-02-13 06:58:40 -0500 |
commit | 889ed9ceaa97bb02bf5d7349e24639f7fc5f4fa0 (patch) | |
tree | 82986b170db353226b40e26a0c8954645b676974 /include/linux/cgroup.h | |
parent | d66393e54e0a9dc743e440eb36c58bd1158a560e (diff) | |
download | linux-stable-889ed9ceaa97bb02bf5d7349e24639f7fc5f4fa0.tar.gz linux-stable-889ed9ceaa97bb02bf5d7349e24639f7fc5f4fa0.tar.bz2 linux-stable-889ed9ceaa97bb02bf5d7349e24639f7fc5f4fa0.zip |
cgroup: remove css_scan_tasks()
css_scan_tasks() doesn't have any user left. Remove it.
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.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h index 72154fb44fb5..3bd0a7138371 100644 --- a/include/linux/cgroup.h +++ b/include/linux/cgroup.h @@ -14,7 +14,6 @@ #include <linux/rcupdate.h> #include <linux/rculist.h> #include <linux/cgroupstats.h> -#include <linux/prio_heap.h> #include <linux/rwsem.h> #include <linux/idr.h> #include <linux/workqueue.h> @@ -813,11 +812,6 @@ void css_task_iter_start(struct cgroup_subsys_state *css, struct task_struct *css_task_iter_next(struct css_task_iter *it); void css_task_iter_end(struct css_task_iter *it); -int css_scan_tasks(struct cgroup_subsys_state *css, - bool (*test)(struct task_struct *, void *), - void (*process)(struct task_struct *, void *), - void *data, struct ptr_heap *heap); - int cgroup_attach_task_all(struct task_struct *from, struct task_struct *); int cgroup_transfer_tasks(struct cgroup *to, struct cgroup *from); |