libprocessgroup: Remove unused uid_path from RemoveProcessGroup
This variable is no longer used.
Fixes: d0464b0c01
("libprocessgroup: Do not remove uid cgroups directory")
Change-Id: I2b606d953722cf38cc865d91ea00a3b08236675b
This commit is contained in:
parent
057cbf6379
commit
b83e6e4b32
1 changed files with 0 additions and 1 deletions
|
@ -216,7 +216,6 @@ static std::string ConvertUidPidToPath(const char* cgroup, uid_t uid, int pid) {
|
|||
static int RemoveProcessGroup(const char* cgroup, uid_t uid, int pid, unsigned int retries) {
|
||||
int ret = 0;
|
||||
auto uid_pid_path = ConvertUidPidToPath(cgroup, uid, pid);
|
||||
auto uid_path = ConvertUidToPath(cgroup, uid);
|
||||
|
||||
while (retries--) {
|
||||
ret = rmdir(uid_pid_path.c_str());
|
||||
|
|
Loading…
Reference in a new issue