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>
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user