mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 16:24:18 +08:00
refactor: remove not used code
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
8c6b936dac
commit
0a787a0880
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user