aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
diff options
context:
space:
mode:
authorSrinivasan Shanmugam <[email protected]>2023-12-27 07:24:44 +0000
committerAlex Deucher <[email protected]>2024-01-05 21:10:43 +0000
commitbf2ad4fb8adca89374b54b225d494e0b1956dbea (patch)
treeef248b21d6428acf1d7621e2cffe014fc23f12c0 /drivers/gpu/drm/amd/display/modules/freesync/freesync.c
parentdrm/amdkfd: Confirm list is non-empty before utilizing list_first_entry in kf... (diff)
downloadkernel-bf2ad4fb8adca89374b54b225d494e0b1956dbea.tar.gz
kernel-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 <[email protected]> Cc: Christian König <[email protected]> Cc: Alex Deucher <[email protected]> Signed-off-by: Srinivasan Shanmugam <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/freesync/freesync.c')
0 files changed, 0 insertions, 0 deletions