diff options
author | Tejun Heo <tj@kernel.org> | 2012-12-28 16:18:28 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-01-07 11:49:16 -0500 |
commit | d5b1fe68baa7213f198e5be8cd1a1037258ab2c8 (patch) | |
tree | 83d5c15ee51d1b782904f0b238c584f16d17bdec | |
parent | d1c3ed669a2d452cacfb48c2d171a1f364dae2ed (diff) |
cgroup: remove unused dummy cgroup_fork_callbacks()
5edee61ede ("cgroup: cgroup_subsys->fork() should be called after the
task is added to css_set") removed cgroup_fork_callbacks() but forgot
to remove its dummy version for !CONFIG_CGROUPS. Remove it.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com>
-rw-r--r-- | include/linux/cgroup.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h index 7d73905dcba2..942e68705577 100644 --- a/include/linux/cgroup.h +++ b/include/linux/cgroup.h | |||
@@ -706,7 +706,6 @@ struct cgroup_subsys_state *cgroup_css_from_dir(struct file *f, int id); | |||
706 | static inline int cgroup_init_early(void) { return 0; } | 706 | static inline int cgroup_init_early(void) { return 0; } |
707 | static inline int cgroup_init(void) { return 0; } | 707 | static inline int cgroup_init(void) { return 0; } |
708 | static inline void cgroup_fork(struct task_struct *p) {} | 708 | static inline void cgroup_fork(struct task_struct *p) {} |
709 | static inline void cgroup_fork_callbacks(struct task_struct *p) {} | ||
710 | static inline void cgroup_post_fork(struct task_struct *p) {} | 709 | static inline void cgroup_post_fork(struct task_struct *p) {} |
711 | static inline void cgroup_exit(struct task_struct *p, int callbacks) {} | 710 | static inline void cgroup_exit(struct task_struct *p, int callbacks) {} |
712 | 711 | ||