]> git.baikalelectronics.ru Git - kernel.git/commit
cgroup: remove a NULL check in cgroup_exit()
authorLi Zefan <lizefan@huawei.com>
Thu, 24 Jan 2013 06:43:51 +0000 (14:43 +0800)
committerTejun Heo <tj@kernel.org>
Thu, 24 Jan 2013 18:40:05 +0000 (10:40 -0800)
commite1fc014a50588ee87b5cf4a610ab7cdefb4d822a
tree5fc28dda2515b0c7eede54ab0a687d7a9714240f
parent53fd9fea2f83ee9f4c7b1fe138852a22d0969313
cgroup: remove a NULL check in cgroup_exit()

init_task.cgroups is initialized at boot phase, and whenver a ask
is forked, it's cgroups pointer is inherited from its parent, and
it's never set to NULL afterwards.

Signed-off-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup.c