]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Remove unrequired NULL checks in xe_sync_entry_cleanup
authorHimal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Tue, 20 Aug 2024 09:02:29 +0000 (14:32 +0530)
committerNirmoy Das <nirmoy.das@intel.com>
Tue, 27 Aug 2024 08:32:57 +0000 (10:32 +0200)
commit19f01d4bbe9daf71901b200ab5c52591946b022a
treed19ad99a348c4e7299e059bab179877dfaa78725
parent11b7309dbe9fa98d9b8d18cd51db4f385c37ae30
drm/xe: Remove unrequired NULL checks in xe_sync_entry_cleanup

dma_fence_put() and dma_fence_chain_free() can handle NULL input,
there is no need for NULL check by caller.

Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240820090230.3258128-2-himal.prasad.ghimiray@intel.com
Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
drivers/gpu/drm/xe/xe_sync.c