diff options
author | Tejun Heo <tj@kernel.org> | 2011-12-12 21:12:22 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2011-12-12 21:12:22 -0500 |
commit | 494c167cf76d02000adf740c215adc69a824ecc9 (patch) | |
tree | bf7cdf462b62ebf099b965f7bea503df30918c17 /include/linux/cgroup.h | |
parent | 94196f51c1ee5bbad674de28c682b17d78adb8e6 (diff) |
cgroup: kill subsys->can_attach_task(), pre_attach() and attach_task()
These three methods are no longer used. Kill them.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Reviewed-by: Frederic Weisbecker <fweisbec@gmail.com>
Acked-by: Paul Menage <paul@paulmenage.org>
Cc: Li Zefan <lizf@cn.fujitsu.com>
Diffstat (limited to 'include/linux/cgroup.h')
-rw-r--r-- | include/linux/cgroup.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h index 34256ad9e55..7ad5e406c42 100644 --- a/include/linux/cgroup.h +++ b/include/linux/cgroup.h | |||
@@ -490,11 +490,8 @@ struct cgroup_subsys { | |||
490 | void (*destroy)(struct cgroup_subsys *ss, struct cgroup *cgrp); | 490 | void (*destroy)(struct cgroup_subsys *ss, struct cgroup *cgrp); |
491 | int (*can_attach)(struct cgroup_subsys *ss, struct cgroup *cgrp, | 491 | int (*can_attach)(struct cgroup_subsys *ss, struct cgroup *cgrp, |
492 | struct cgroup_taskset *tset); | 492 | struct cgroup_taskset *tset); |
493 | int (*can_attach_task)(struct cgroup *cgrp, struct task_struct *tsk); | ||
494 | void (*cancel_attach)(struct cgroup_subsys *ss, struct cgroup *cgrp, | 493 | void (*cancel_attach)(struct cgroup_subsys *ss, struct cgroup *cgrp, |
495 | struct cgroup_taskset *tset); | 494 | struct cgroup_taskset *tset); |
496 | void (*pre_attach)(struct cgroup *cgrp); | ||
497 | void (*attach_task)(struct cgroup *cgrp, struct task_struct *tsk); | ||
498 | void (*attach)(struct cgroup_subsys *ss, struct cgroup *cgrp, | 495 | void (*attach)(struct cgroup_subsys *ss, struct cgroup *cgrp, |
499 | struct cgroup_taskset *tset); | 496 | struct cgroup_taskset *tset); |
500 | void (*fork)(struct cgroup_subsys *ss, struct task_struct *task); | 497 | void (*fork)(struct cgroup_subsys *ss, struct task_struct *task); |