aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorFelix Kuehling <felix.kuehling@amd.com>2024-01-15 16:51:46 -0500
committerAlex Deucher <alexander.deucher@amd.com>2024-01-18 15:44:49 -0500
commit5394fb2a5bd5c5ec8b0470649eaba7f55ef2defe (patch)
treebf2a91667cb6249e030a9779a751e652a4d9fcdf /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parent087a3e13ec49358eda582176a50068d38d94080f (diff)
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 <dan.carpenter@linaro.org> Fixes: 50661eb1a2c8 ("drm/amdgpu: Auto-validate DMABuf imports in compute VMs") Reviewed-by: Kent Russell <kent.russell@amd.com> Signed-off-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_ras.c')
0 files changed, 0 insertions, 0 deletions