]> 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)
commit4e18c3d026d4b05d64fb523201d3ec1979ac2e21
treeaf8175b607dfe7ab069fc0763ff0d87f95d76f3f
parent7d8ea04622aa6a7e8d21375df88963dfeedadea7
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