]> git.baikalelectronics.ru Git - kernel.git/commit
cgroup: remove the superfluous judgment
authorShida Zhang <starzhangzsd@gmail.com>
Wed, 18 May 2022 01:36:47 +0000 (09:36 +0800)
committerTejun Heo <tj@kernel.org>
Fri, 20 May 2022 07:49:45 +0000 (21:49 -1000)
commitecec31fffb34448020f3d712a8b5ffc8153f30c2
treeaf8175b607dfe7ab069fc0763ff0d87f95d76f3f
parent837143ceb868ddadc5db10e347c07b014ae22cc6
cgroup: remove the superfluous judgment

Remove the superfluous judgment since the function is
never called for a root cgroup, as suggested by Tejun.

Suggested-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Shida Zhang <zhangshida@kylinos.cn>
Reviewed-by: Michal Koutný <mkoutny@suse.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup/cgroup.c