OSDN Git Service

dma-buf: Remove the signaled bit status check
authorArvind Yadav <Arvind.Yadav@amd.com>
Wed, 14 Sep 2022 16:43:16 +0000 (22:13 +0530)
committerChristian König <christian.koenig@amd.com>
Fri, 16 Sep 2022 13:53:20 +0000 (15:53 +0200)
commit6ad9aa476ce23be45de9dcb03edcdbfdf6117c25
treecdda849f9605550cba2a4482d127ac7c3fe11d08
parent98a65e6d498c46b0beec7a40aac4b3e404642993
dma-buf: Remove the signaled bit status check

Remove the signaled bit status check because it is returning
early when the fence is already signaled and
__dma_fence_enable_signaling is checking the status of signaled
bit again.

Signed-off-by: Arvind Yadav <Arvind.Yadav@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220914164321.2156-2-Arvind.Yadav@amd.com
Signed-off-by: Christian König <christian.koenig@amd.com>
drivers/dma-buf/dma-fence.c