From c295689c3b33a486f89efb1a21bab9f8ca132d15 Mon Sep 17 00:00:00 2001 From: liujialiang Date: Tue, 28 Dec 2021 20:03:20 +0800 Subject: [PATCH] delete redundancy ERROR LOG during open ashmem. Signed-off-by: liujialiang --- base/src/ashmem.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/base/src/ashmem.cpp b/base/src/ashmem.cpp index 8437c4d..2e05397 100755 --- a/base/src/ashmem.cpp +++ b/base/src/ashmem.cpp @@ -42,13 +42,11 @@ openFdFunction ProbeAshmemFdFunction() { auto handle = dlopen("libashmemd_client.so", RTLD_NOW); if (!handle) { - UTILS_LOGE("Failed to open libashmemd_client.so"); return nullptr; } openFdFunction func = reinterpret_cast(dlsym(handle, "openAshmemdFd")); if (!func) { dlclose(handle); - UTILS_LOGE("Failed to obtain address of openFdFunction"); } return func; } -- Gitee