diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-10-19 11:40:10 +0200 |
---|---|---|
committer | Mike Yuan <me@yhndnzj.com> | 2023-10-19 14:24:54 +0200 |
commit | be3b6b6fe551c2e709cfb329694408eb9b393eb5 (patch) | |
tree | b11a424c97484f5f3789ff6c39b34414b6938cc7 | |
parent | Merge pull request #29595 from YHNdnzj/systemctl-failed-system (diff) | |
download | systemd-be3b6b6fe551c2e709cfb329694408eb9b393eb5.tar.xz systemd-be3b6b6fe551c2e709cfb329694408eb9b393eb5.zip |
cgroup-util: drop dead code block
Follow-up for 4d1b2df199227ed4b934bbcb054364e92e93a1a6.
Fixes CID#1522888.
-rw-r--r-- | src/basic/cgroup-util.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/basic/cgroup-util.c b/src/basic/cgroup-util.c index 5caf85f443..74aee40f6a 100644 --- a/src/basic/cgroup-util.c +++ b/src/basic/cgroup-util.c @@ -367,13 +367,6 @@ static int cg_kill_items( } } - if (r < 0) { - if (ret >= 0) - return r; - - return ret; - } - /* To avoid racing against processes which fork * quicker than we can kill them we repeat this until * no new pids need to be killed. */ |