diff --git a/frameworks/native/neural_network_runtime/nnexecutor.cpp b/frameworks/native/neural_network_runtime/nnexecutor.cpp index 08e760b7438d60f266f4157dee17d1c0826383da..0b3a70029696a28c65f7ebe45466c445a0b69487 100644 --- a/frameworks/native/neural_network_runtime/nnexecutor.cpp +++ b/frameworks/native/neural_network_runtime/nnexecutor.cpp @@ -1476,15 +1476,6 @@ OH_NN_ReturnCode NNExecutor::SetDeinitModelCallBack() return static_cast(ret); } - auto _ret = GetModelID(originHiaiModelId_); - if (_ret != OH_NN_SUCCESS) { - LOGW("GetModelID failed, some error happen when get model id for device."); - } - - uint32_t modelId; - GetModelID(modelId); - LOGI("manualload pid=%{public}d originHiaiModelId=%{public}d hiaiModelId=%{public}d", - getpid(), originHiaiModelId_, modelId); return OH_NN_SUCCESS; }