sched: remove redundant NULL cgroup check in task_group_path()
authorLi Zefan <lizefan@huawei.com>
Thu, 24 Jan 2013 06:31:11 +0000 (14:31 +0800)
committerTejun Heo <tj@kernel.org>
Thu, 24 Jan 2013 20:05:18 +0000 (12:05 -0800)
commit2a73991b76cbd38c4a0c6704449ccc08c89c3ff3
treecde2e683c5d2139dcde24c8c2c90467fa3d5b91a
parentace783b9bbfa2182b4a561498db3f09a0c56bc79
sched: remove redundant NULL cgroup check in task_group_path()

A task_group won't be online (thus no one can see it) until
cpu_cgroup_css_online(), and at that time tg->css.cgroup has
been initialized, so this NULL check is redundant.

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