cgroup: remove the superfluous judgment