Remove redundant code.

Change-Id: I4c4cb5c6a6c316ca3c25260d9bcb60baded3c738
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
This commit is contained in:
Mrozek, Michal
2019-08-09 12:57:27 +02:00
committed by sys_ocldev
parent 230c86b95e
commit c5f9915acd

View File

@@ -24,7 +24,6 @@ GraphicsAllocation *OsAgnosticMemoryManager::allocateGraphicsMemoryInDevicePool(
}
uint64_t gpuAddress = reinterpret_cast<uint64_t>(allocationData.hostPtr);
allocation = new MemoryAllocation(allocationData.type, cpuAllocation, cpuAllocation, gpuAddress, allocationData.size, counter++, MemoryPool::LocalMemory, false, false, false);
allocation->setGpuBaseAddress(gpuAddress);
} else {
allocation = allocateGraphicsMemory(allocationData);
}