mv_machine_learning: code cleanup for refactoring 95/264195/2
authorInki Dae <inki.dae@samsung.com>
Tue, 14 Sep 2021 06:55:36 +0000 (15:55 +0900)
committerInki Dae <inki.dae@samsung.com>
Wed, 15 Sep 2021 02:58:31 +0000 (11:58 +0900)
commit96a0cf3a05ef5dc19a3fbf0893464053cb0b739f
tree42f1127d246248ef459aab1f0c0af3a4856cf519
parentaddec6b4ef42f23feeeb850738840b0f49bccfb6
mv_machine_learning: code cleanup for refactoring

Cleaned up mv_inference_open.cpp module for code refactoring.
What cleanups are,
 - correct variable name which doesn't clarify what the name means.
 - change goto label name to be meaningful with resource release issue.
 - drop unnecessary code.
 - move code so that relevant code could be grouped together.

This patch is just one step of what we have to for code refactoring.

Change-Id: Ia744508e0318d6558a0f4901a90d7ac8a14634e2
Signed-off-by: Inki Dae <inki.dae@samsung.com>
mv_machine_learning/mv_inference/inference/src/mv_inference_open.cpp