cgroup: unexport cgroup_css() and remove __file_cft()

Now that cgroup_event is made memcg specific, the temporarily exported
functions are no longer necessary.  Unexport cgroup_css() and remove
__file_cft() which doesn't have any user left.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
This commit is contained in:
Tejun Heo 2013-11-22 18:20:44 -05:00
parent 3bc942f372
commit b36824c75c
2 changed files with 2 additions and 17 deletions

View file

@ -883,11 +883,6 @@ unsigned short css_id(struct cgroup_subsys_state *css);
struct cgroup_subsys_state *css_from_dir(struct dentry *dentry,
struct cgroup_subsys *ss);
/* XXX: temporary */
struct cgroup_subsys_state *cgroup_css(struct cgroup *cgrp,
struct cgroup_subsys *ss);
struct cftype *__file_cft(struct file *file);
#else /* !CONFIG_CGROUPS */
static inline int cgroup_init_early(void) { return 0; }