From c5f9915acd282552bc6ad595677af950b4d9625e Mon Sep 17 00:00:00 2001 From: "Mrozek, Michal" Date: Fri, 9 Aug 2019 12:57:27 +0200 Subject: [PATCH] Remove redundant code. Change-Id: I4c4cb5c6a6c316ca3c25260d9bcb60baded3c738 Signed-off-by: Mrozek, Michal --- .../os_agnostic_memory_manager_allocate_in_device_pool.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/runtime/memory_manager/os_agnostic_memory_manager_allocate_in_device_pool.cpp b/runtime/memory_manager/os_agnostic_memory_manager_allocate_in_device_pool.cpp index 076205078d..715338baad 100644 --- a/runtime/memory_manager/os_agnostic_memory_manager_allocate_in_device_pool.cpp +++ b/runtime/memory_manager/os_agnostic_memory_manager_allocate_in_device_pool.cpp @@ -24,7 +24,6 @@ GraphicsAllocation *OsAgnosticMemoryManager::allocateGraphicsMemoryInDevicePool( } uint64_t gpuAddress = reinterpret_cast(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); }