diff options
author | Jesse Zhang <jesse.zhang@amd.com> | 2024-05-30 09:07:30 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-06-05 18:25:14 +0300 |
commit | 7f7f43f28eb325c4ed8ed3f0534cdb00c9831e0d (patch) | |
tree | ce53e6f887f56e2e567f2294bddfe4a24e9a3802 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | c8ad1bbbc2751063c7a5825911e58996ef849628 (diff) | |
download | linux-7f7f43f28eb325c4ed8ed3f0534cdb00c9831e0d.tar.xz |
drm/amdkfd: remove logically dead code
idr_for_each_entry can ensure that mem is not empty during the loop.
So don't need check mem again.
Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions