diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h index a2bcbd2e0f9a..fd7f1c0b6185 100644 --- a/include/linux/cgroup.h +++ b/include/linux/cgroup.h @@ -865,11 +865,6 @@ static inline int cgroup_attach_task_all(struct task_struct *from, return 0; } -static inline int subsys_cgroup_allow_attach(struct cgroup *cgrp, - struct cgroup_taskset *tset) -{ - return 0; -} #endif /* !CONFIG_CGROUPS */ #endif /* _LINUX_CGROUP_H */