From a3ecc388433e05ac93e91098a768d482f2240e46 Mon Sep 17 00:00:00 2001 From: liangshenglin1 Date: Tue, 13 Jul 2021 06:28:38 +0000 Subject: [PATCH] remove driver name /dev/zbinder --- ipc/native/src/mock/source/binder_connector.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ipc/native/src/mock/source/binder_connector.cpp b/ipc/native/src/mock/source/binder_connector.cpp index ff14cdbc..14b7df41 100755 --- a/ipc/native/src/mock/source/binder_connector.cpp +++ b/ipc/native/src/mock/source/binder_connector.cpp @@ -37,11 +37,7 @@ std::mutex BinderConnector::skeletonMutex; constexpr int SZ_1_M = 1048576; constexpr int DOUBLE = 2; static const int IPC_MMAP_SIZE = (SZ_1_M - sysconf(_SC_PAGE_SIZE) * DOUBLE); -#if (defined CONFIG_DUAL_FRAMEWORK) static const std::string DRIVER_NAME = std::string("/dev/binder"); -#else -static const std::string DRIVER_NAME = std::string("/dev/zbinder"); -#endif /* CONFIG_DUAL_FRAMEWORK */ BinderConnector *BinderConnector::instance_ = nullptr; BinderConnector::BinderConnector(const std::string &deviceName) -- Gitee