Skip to content
Commit 2a73991b authored by Li Zefan's avatar Li Zefan Committed by Tejun Heo
Browse files

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: default avatarLi Zefan <lizefan@huawei.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent ace783b9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment