diff --git a/level_zero/core/source/context/context_imp.cpp b/level_zero/core/source/context/context_imp.cpp index 36b5c485ac..61cdadaac8 100644 --- a/level_zero/core/source/context/context_imp.cpp +++ b/level_zero/core/source/context/context_imp.cpp @@ -305,9 +305,6 @@ ze_result_t ContextImp::freeMem(const void *ptr, bool blocking) { } this->driverHandle->svmAllocsManager->freeSVMAlloc(const_cast(ptr), blocking); - if (this->driverHandle->svmAllocsManager->getSvmMapOperation(ptr)) { - this->driverHandle->svmAllocsManager->removeSvmMapOperation(ptr); - } return ZE_RESULT_SUCCESS; }