From: Vibhav Aggarwal Date: Thu, 5 Oct 2023 08:37:03 +0000 (+0900) Subject: remove redundant code X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3a945e2636b61884d32d25409008b0690ad73e4d;p=platform%2Fcore%2Fmultimedia%2Finference-engine-interface.git remove redundant code [issue type] code cleanup Remove redundant code. The if condition was redundant because it would always fail. Change-Id: I57d5bba6c28acea852297395423abe8add8b6ed7 Signed-off-by: Vibhav Aggarwal --- diff --git a/src/inference_engine_common_impl.cpp b/src/inference_engine_common_impl.cpp index 0d6b63e..20b4ff5 100644 --- a/src/inference_engine_common_impl.cpp +++ b/src/inference_engine_common_impl.cpp @@ -246,10 +246,6 @@ namespace Common int InferenceEngineCommon::EnableProfiler(bool enable) { - if (enable != true && enable != false) { - return INFERENCE_ENGINE_ERROR_INVALID_PARAMETER; - } - mUseProfiler = enable; if (mUseProfiler == true) {