dma-buf: use new iterator in dma_resv_copy_fences
authorChristian König <christian.koenig@amd.com>
Tue, 15 Jun 2021 13:15:01 +0000 (15:15 +0200)
committerChristian König <christian.koenig@amd.com>
Wed, 6 Oct 2021 07:48:25 +0000 (09:48 +0200)
commit96601e8a4755d333a8d2e826134d5220ae2e8c24
tree98785a3b1bc86f4e8240c582f8b294658727a67c
parentc921ff373b469ad7907cde219fa700909f59cac4
dma-buf: use new iterator in dma_resv_copy_fences

This makes the function much simpler since the complex
retry logic is now handled else where.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20211005113742.1101-5-christian.koenig@amd.com
drivers/dma-buf/dma-resv.c