aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdkfd
diff options
context:
space:
mode:
authorGravatar Srinivasan Shanmugam <srinivasan.shanmugam@amd.com> 2023-12-27 12:54:44 +0530
committerGravatar Alex Deucher <alexander.deucher@amd.com> 2024-01-05 16:10:43 -0500
commitbf2ad4fb8adca89374b54b225d494e0b1956dbea (patch)
treeef248b21d6428acf1d7621e2cffe014fc23f12c0 /drivers/gpu/drm/amd/amdkfd
parentdrm/amdkfd: Confirm list is non-empty before utilizing list_first_entry in kf... (diff)
downloadlinux-bf2ad4fb8adca89374b54b225d494e0b1956dbea.tar.gz
linux-bf2ad4fb8adca89374b54b225d494e0b1956dbea.tar.bz2
linux-bf2ad4fb8adca89374b54b225d494e0b1956dbea.zip
drm/amdgpu: Drop 'fence' check in 'to_amdgpu_amdkfd_fence()'
Return value of container_of(...) can't be null, so null check is not required for 'fence'. Hence drop its NULL check. Fixes the below: drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c:93 to_amdgpu_amdkfd_fence() warn: can 'fence' even be NULL? Cc: Felix Kuehling <Felix.Kuehling@amd.com> Cc: Christian König <christian.koenig@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@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/amdkfd')
0 files changed, 0 insertions, 0 deletions