summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/driver.cpp
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2019-11-13 20:21:52 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2019-11-13 20:21:52 +0000
commitd64198e6ee5be7da197cce0c8dcf62eddc03ee9c (patch)
tree456cae9ab3568ae974c773e480d57e68cef63ea2 /vulkan/libvulkan/driver.cpp
parent6883e545bc3a08097f309ae3caddfbf708dea458 (diff)
parent6a674c9e105bdc5d736c06a4500dcdac1c6c4006 (diff)
Merge "GraphicsEnv: refactor to unify the debuggable logic"
Diffstat (limited to 'vulkan/libvulkan/driver.cpp')
-rw-r--r--vulkan/libvulkan/driver.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/vulkan/libvulkan/driver.cpp b/vulkan/libvulkan/driver.cpp
index 0fb3a29ac8..90a73e2d32 100644
--- a/vulkan/libvulkan/driver.cpp
+++ b/vulkan/libvulkan/driver.cpp
@@ -753,10 +753,6 @@ void FreeDeviceData(DeviceData* data, const VkAllocationCallbacks& allocator) {
} // anonymous namespace
-bool Debuggable() {
- return prctl(PR_GET_DUMPABLE, 0, 0, 0, 0) > 0;
-}
-
bool OpenHAL() {
return Hal::Open();
}