diff options
| author | zhengbin <[email protected]> | 2019-11-14 03:20:25 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-11-19 15:12:51 +0000 |
| commit | d191bd678153307573d615bb42da4fcca19fe477 (patch) | |
| tree | 60583e0c194cf584f974de1fd5b8b994b23efc82 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | drm/amd/powerplay: correct fine grained dpm force level setting (diff) | |
| download | kernel-d191bd678153307573d615bb42da4fcca19fe477.tar.gz kernel-d191bd678153307573d615bb42da4fcca19fe477.zip | |
drm/amdkfd: remove set but not used variable 'top_dev'
Fixes gcc '-Wunused-but-set-variable' warning:
drivers/gpu/drm/amd/amdkfd/kfd_iommu.c: In function kfd_iommu_device_init:
drivers/gpu/drm/amd/amdkfd/kfd_iommu.c:65:30: warning: variable top_dev set but not used [-Wunused-but-set-variable]
Reported-by: Hulk Robot <[email protected]>
Fixes: 1ae99eab34f9 ("drm/amdkfd: Initialize HSA_CAP_ATS_PRESENT capability in topology codes")
Signed-off-by: zhengbin <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
