refactor: remove not used code

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
Dunajski, Bartosz
2023-10-16 14:41:39 +00:00
committed by Compute-Runtime-Automation
parent 8c6b936dac
commit 0a787a0880

View File

@@ -975,7 +975,8 @@ GraphicsAllocation *DrmMemoryManager::createGraphicsAllocationFromSharedHandle(o
bo = findAndReferenceSharedBufferObject(boHandle, properties.rootDeviceIndex);
}
const auto memoryPool = isHostIpcAllocation ? MemoryPool::SystemCpuInaccessible : MemoryPool::LocalCpuInaccessible;
const auto memoryPool = MemoryPool::LocalCpuInaccessible;
UNRECOVERABLE_IF(isHostIpcAllocation);
if (bo == nullptr) {
size_t size = SysCalls::lseek(handle, 0, SEEK_END);