aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-05-24 10:55:38 +0900
committerMoyster <oysterized@gmail.com>2016-09-18 12:46:46 +0200
commitc4d83de0a6d212a57ef1763a7a0f948b09f1b8c5 (patch)
treef2d1b0447db6e2b4c1f11b226cbcfe1f3a1776ce /include
parentcf9e2e4d06188bd730796988249f4eef46da6fa7 (diff)
cgroup: make cgroup_is_removed() static
cgroup_is_removed() no longer has external users and it shouldn't grow any - controllers should deal with cgroup_subsys_state on/offline state instead of cgroup removal state. Make it static. While at it, make it return bool. Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/cgroup.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index fb6d91ffa..c9b00cdb1 100644
--- a/include/linux/cgroup.h
+++ b/include/linux/cgroup.h
@@ -540,7 +540,6 @@ static inline const char *cgroup_name(const struct cgroup *cgrp)
int cgroup_add_cftypes(struct cgroup_subsys *ss, struct cftype *cfts);
int cgroup_rm_cftypes(struct cgroup_subsys *ss, struct cftype *cfts);
-int cgroup_is_removed(const struct cgroup *cgrp);
bool cgroup_is_descendant(struct cgroup *cgrp, struct cgroup *ancestor);
int cgroup_path(const struct cgroup *cgrp, char *buf, int buflen);