diff options
| author | 2015-07-09 10:04:34 -0700 | |
|---|---|---|
| committer | 2015-07-09 10:04:34 -0700 | |
| commit | 4d2f4bba0d9fb72a7d3340e68ddaea448f2dc36e (patch) | |
| tree | 570ce3d874af5836b976724b6a97ee78a453debd | |
| parent | dbc2d87a74987db84f6cb3cf1eed9ae7ca450ce7 (diff) | |
Binder on Windows? Unlikely.
Change-Id: I36c1bee4ed33b9b0d24109a6dbaefa0548dd5aa8
| -rw-r--r-- | libs/binder/ProcessState.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libs/binder/ProcessState.cpp b/libs/binder/ProcessState.cpp index 303d6cf3a2..4109575fde 100644 --- a/libs/binder/ProcessState.cpp +++ b/libs/binder/ProcessState.cpp @@ -343,10 +343,6 @@ ProcessState::ProcessState() , mThreadPoolSeq(1) { if (mDriverFD >= 0) { - // XXX Ideally, there should be a specific define for whether we - // have mmap (or whether we could possibly have the kernel module - // availabla). -#if !defined(HAVE_WIN32_IPC) // mmap the binder, providing a chunk of virtual address space to receive transactions. mVMStart = mmap(0, BINDER_VM_SIZE, PROT_READ, MAP_PRIVATE | MAP_NORESERVE, mDriverFD, 0); if (mVMStart == MAP_FAILED) { @@ -355,9 +351,6 @@ ProcessState::ProcessState() close(mDriverFD); mDriverFD = -1; } -#else - mDriverFD = -1; -#endif } LOG_ALWAYS_FATAL_IF(mDriverFD < 0, "Binder driver could not be opened. Terminating."); |