cgroup-util: drop dead code block

Follow-up for 4d1b2df199.

Fixes CID#1522888.
This commit is contained in:
Yu Watanabe
2023-10-19 20:24:54 +08:00
committed by Mike Yuan
parent 1ca8cc9fb6
commit be3b6b6fe5
-7
View File
@@ -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. */