Merge "libprocessgroup: Remove unused uid_path from RemoveProcessGroup"
This commit is contained in:
commit
482feeecf7
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) {
|
static int RemoveProcessGroup(const char* cgroup, uid_t uid, int pid, unsigned int retries) {
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
auto uid_pid_path = ConvertUidPidToPath(cgroup, uid, pid);
|
auto uid_pid_path = ConvertUidPidToPath(cgroup, uid, pid);
|
||||||
auto uid_path = ConvertUidToPath(cgroup, uid);
|
|
||||||
|
|
||||||
while (retries--) {
|
while (retries--) {
|
||||||
ret = rmdir(uid_pid_path.c_str());
|
ret = rmdir(uid_pid_path.c_str());
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue