projects
/
platform
/
core
/
multimedia
/
inference-engine-interface.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7559ee7
)
remove redundant code
author
Vibhav Aggarwal
<v.aggarwal@samsung.com>
Thu, 5 Oct 2023 08:37:03 +0000
(17:37 +0900)
committer
Inki Dae
<inki.dae@samsung.com>
Thu, 7 Nov 2024 03:54:52 +0000
(12:54 +0900)
[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 <v.aggarwal@samsung.com>
src/inference_engine_common_impl.cpp
patch
|
blob
|
history
diff --git
a/src/inference_engine_common_impl.cpp
b/src/inference_engine_common_impl.cpp
index 0d6b63e81ea41eab48711a1f9f94bb75a9dc64b3..20b4ff5963525d93e09f4c45574a2cecc951da10 100644
(file)
--- 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) {