Merge "libprocessgroup: Remove unused uid_path from RemoveProcessGroup" am: 482feeecf7
am: 20aaa9ca86
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2563950 Change-Id: Ic61990befd49ff0799b3bea3d50cdd89b974cda5 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
49a08b7209
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