aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
diff options
context:
space:
mode:
authorFelix Kuehling <[email protected]>2024-01-15 21:51:46 +0000
committerAlex Deucher <[email protected]>2024-01-18 20:44:49 +0000
commit5394fb2a5bd5c5ec8b0470649eaba7f55ef2defe (patch)
treebf2a91667cb6249e030a9779a751e652a4d9fcdf /drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
parentdrm/amdgpu: revert "Adjust removal control flow for smu v13_0_2" (diff)
downloadkernel-5394fb2a5bd5c5ec8b0470649eaba7f55ef2defe.tar.gz
kernel-5394fb2a5bd5c5ec8b0470649eaba7f55ef2defe.zip
drm/amdgpu: Remove unnecessary NULL check
A static checker pointed out, that bo_va->base.bo was already derefenced earlier in the same scope. Therefore this check is unnecessary here. Reported-by: Dan Carpenter <[email protected]> Fixes: 50661eb1a2c8 ("drm/amdgpu: Auto-validate DMABuf imports in compute VMs") Reviewed-by: Kent Russell <[email protected]> Signed-off-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c')
0 files changed, 0 insertions, 0 deletions