aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorSrinivasan Shanmugam <[email protected]>2023-12-27 12:54:44 +0530
committerAlex Deucher <[email protected]>2024-01-05 16:10:43 -0500
commitbf2ad4fb8adca89374b54b225d494e0b1956dbea (patch)
treeef248b21d6428acf1d7621e2cffe014fc23f12c0 /tools/perf/scripts/python/libxed.py
parent499839eca34ad62d43025ec0b46b80e77065f6d8 (diff)
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 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions