diff options
| author | Tejun Heo | 2013-05-24 03:55:38 +0200 |
|---|---|---|
| committer | Tejun Heo | 2013-05-24 03:55:38 +0200 |
| commit | bdc7119f1bdd0632d42f435941dc290216a436e7 (patch) | |
| tree | 3e33099f7e22b637e3ffa9f558938e92e94fd9a6 /include/linux/cgroup.h | |
| parent | Merge branch 'for-3.10-fixes' into for-3.11 (diff) | |
| download | kernel-qcow2-linux-bdc7119f1bdd0632d42f435941dc290216a436e7.tar.gz kernel-qcow2-linux-bdc7119f1bdd0632d42f435941dc290216a436e7.tar.xz kernel-qcow2-linux-bdc7119f1bdd0632d42f435941dc290216a436e7.zip | |
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/linux/cgroup.h')
| -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 1df5f699be61..8d9f3c911fca 100644 --- a/include/linux/cgroup.h +++ b/include/linux/cgroup.h @@ -538,7 +538,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); |
