summaryrefslogtreecommitdiff
path: root/base/process/process_posix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/process/process_posix.cc')
-rw-r--r--base/process/process_posix.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/base/process/process_posix.cc b/base/process/process_posix.cc
index db525f0355..3da6793afb 100644
--- a/base/process/process_posix.cc
+++ b/base/process/process_posix.cc
@@ -102,12 +102,7 @@ static bool WaitForSingleNonChildProcess(base::ProcessHandle handle,
return false;
}
-#if defined(ANDROID)
- struct kevent change;
- memset(&change, 0, sizeof(change));
-#else
struct kevent change = {0};
-#endif
EV_SET(&change, handle, EVFILT_PROC, EV_ADD, NOTE_EXIT, 0, NULL);
int result = HANDLE_EINTR(kevent(kq.get(), &change, 1, NULL, 0, NULL));
if (result == -1) {