From 69766d60896e429f27ac094010ae1f30ebbdc630 Mon Sep 17 00:00:00 2001 From: Anitha Raj Date: Tue, 21 Nov 2023 11:19:50 +0000 Subject: Revert "Fix various coverity issues" This reverts commit 26c68a0e5f555e316cab18352fa3b62f22af8bfb. Signed-off-by: Anitha Raj Change-Id: I3a71762d1fa8b0a97ebf21fa1c1e4da94d39e887 --- src/runtime/CL/CLMemoryRegion.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'src/runtime/CL/CLMemoryRegion.cpp') diff --git a/src/runtime/CL/CLMemoryRegion.cpp b/src/runtime/CL/CLMemoryRegion.cpp index c9ddf9b85c..835958b816 100644 --- a/src/runtime/CL/CLMemoryRegion.cpp +++ b/src/runtime/CL/CLMemoryRegion.cpp @@ -26,8 +26,6 @@ #include "arm_compute/core/Error.h" #include "arm_compute/runtime/CL/CLScheduler.h" -#include "src/common/utils/Log.h" - namespace arm_compute { ICLMemoryRegion::ICLMemoryRegion(size_t size) @@ -74,14 +72,7 @@ CLBufferMemoryRegion::~CLBufferMemoryRegion() // Flush the command queue to ensure all commands that may use this memory buffer are scheduled to be finished before // this buffer is freed // Do not call finish as it is a blocking call which affects the performance - try - { - CLScheduler::get().queue().flush(); - } - catch (const std::exception &e) - { - ARM_COMPUTE_LOG_ERROR_ACL(e.what()); - } + CLScheduler::get().queue().flush(); } void *CLBufferMemoryRegion::ptr() -- cgit v1.2.1