Fix some -Wunused-but-set-variable warnings

Change-Id: I281583b5abdfc09d5dd8b7dfb20b8821581db193
这个提交包含在:
Vlad Sytchenko 于 2020-06-15 17:51:01 -04:00 提交
1 父节点 e50a9eec9d
当前提交 5b9af8f28d
4 个文件已更改
+9 -9

没有与搜索条件相匹配的文件

-1
查看文件
@@ -1840,7 +1840,6 @@ amd::Memory *Device::IpcAttach(const void* handle, size_t mem_size, unsigned int
/* FIX_ME (SWDEV-215976): Mapping for all devices is not optimal. In future map only for devices on need basis */
/* Retrieve the devPtr from the handle */
hsa_agent_t hsa_agent = getBackendDevice();
hsa_status
= hsa_amd_ipc_memory_attach(reinterpret_cast<const hsa_amd_ipc_memory_t*>(handle),
mem_size, (1 + p2p_agents_.size()), p2p_agents_list_, dev_ptr);