The return code of dma_fence_signal() is not useful and shall be removed from the kernel. To do so, all users must be removed.
Remove usage of dma_fence_signal()'s return code.
Suggested-by: Christian König christian.koenig@amd.com Signed-off-by: Philipp Stanner phasta@kernel.org --- drivers/gpu/drm/ttm/tests/ttm_bo_validate_test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/ttm/tests/ttm_bo_validate_test.c b/drivers/gpu/drm/ttm/tests/ttm_bo_validate_test.c index 1bcc67977f48..34957624910f 100644 --- a/drivers/gpu/drm/ttm/tests/ttm_bo_validate_test.c +++ b/drivers/gpu/drm/ttm/tests/ttm_bo_validate_test.c @@ -692,7 +692,8 @@ static int threaded_fence_signal(void *arg)
msleep(20);
- return dma_fence_signal(fence); + dma_fence_signal(fence); + return 0; }
static void ttm_bo_validate_move_fence_not_signaled(struct kunit *test)