]> git.baikalelectronics.ru Git - kernel.git/commit
cgroup: make cgroup_is_removed() static
authorTejun Heo <tj@kernel.org>
Fri, 24 May 2013 01:55:38 +0000 (10:55 +0900)
committerTejun Heo <tj@kernel.org>
Fri, 24 May 2013 01:55:38 +0000 (10:55 +0900)
commit7df47f55208a45316581673133117efedeef0418
tree3e33099f7e22b637e3ffa9f558938e92e94fd9a6
parentda8fad64a00a4bf51010ef0bbb53e547f35850d4
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>
include/linux/cgroup.h
kernel/cgroup.c