cgroup: remove unused dummy cgroup_fork_callbacks()
authorTejun Heo <tj@kernel.org>
Fri, 28 Dec 2012 21:18:28 +0000 (13:18 -0800)
committerTejun Heo <tj@kernel.org>
Mon, 7 Jan 2013 16:49:16 +0000 (08:49 -0800)
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>
include/linux/cgroup.h

index 7d73905..942e687 100644 (file)
@@ -706,7 +706,6 @@ struct cgroup_subsys_state *cgroup_css_from_dir(struct file *f, int id);
 static inline int cgroup_init_early(void) { return 0; }
 static inline int cgroup_init(void) { return 0; }
 static inline void cgroup_fork(struct task_struct *p) {}
-static inline void cgroup_fork_callbacks(struct task_struct *p) {}
 static inline void cgroup_post_fork(struct task_struct *p) {}
 static inline void cgroup_exit(struct task_struct *p, int callbacks) {}