Remove non-needed branch from freeMem
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
This commit is contained in:
parent
53c67934e1
commit
8c6a3639d9
|
@ -305,9 +305,6 @@ ze_result_t ContextImp::freeMem(const void *ptr, bool blocking) {
|
|||
}
|
||||
|
||||
this->driverHandle->svmAllocsManager->freeSVMAlloc(const_cast<void *>(ptr), blocking);
|
||||
if (this->driverHandle->svmAllocsManager->getSvmMapOperation(ptr)) {
|
||||
this->driverHandle->svmAllocsManager->removeSvmMapOperation(ptr);
|
||||
}
|
||||
return ZE_RESULT_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue