drm/amdkfd: fix warning when CONFIG_HSA_AMD_P2P is not set
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 10 Jun 2022 15:38:05 +0000 (11:38 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 15 Jun 2022 01:38:41 +0000 (21:38 -0400)
commit914da384ae9a77079314f07022c18063c7e77778
treeb209c74469e7455c2356c9dfb35fc6f1453d8c0d
parent68ad7f90c790a178f47ef08408d97a81cbb71b37
drm/amdkfd: fix warning when CONFIG_HSA_AMD_P2P is not set

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:1542:11:
warning: variable 'i' set but not used [-Wunused-but-set-variable]

Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_topology.c