]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amdgpu: Drop impossible condition from amdgpu_job_prepare_job
authorTvrtko Ursulin <tvrtko.ursulin@igalia.com>
Tue, 24 Sep 2024 09:51:44 +0000 (10:51 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 8 Oct 2024 13:43:39 +0000 (09:43 -0400)
commit871f44b4ba74a676ef2f0528a3efc591346fa92a
tree05cbd1db79304f84be73d39e432dde4b8dd6ae01
parent66369db7fdd7d58d78673bf83d2b87ea623efb63
drm/amdgpu: Drop impossible condition from amdgpu_job_prepare_job

Fence has been initialised to NULL so no need to test it.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Cc: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c