From 580bd83fb4f242d59d18dcc18d47cbf6a9b12df7 Mon Sep 17 00:00:00 2001 From: Qiang Yu Date: Mon, 3 Sep 2018 18:06:02 +0800 Subject: amdgpu: amdgpu_bo_inc_ref don't return dummy int MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Qiang Yu Reviewed-by: Michel Dänzer Reviewed-by: Christian König --- amdgpu/amdgpu.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'amdgpu/amdgpu.h') diff --git a/amdgpu/amdgpu.h b/amdgpu/amdgpu.h index e1f93f8e..dc51659a 100644 --- a/amdgpu/amdgpu.h +++ b/amdgpu/amdgpu.h @@ -725,13 +725,10 @@ int amdgpu_bo_free(amdgpu_bo_handle buf_handle); * * \param bo - \c [in] Buffer object handle to increase the reference count * - * \return 0 on success\n - * <0 - Negative POSIX Error code - * * \sa amdgpu_bo_alloc(), amdgpu_bo_free() * */ -int amdgpu_bo_inc_ref(amdgpu_bo_handle bo); +void amdgpu_bo_inc_ref(amdgpu_bo_handle bo); /** * Request CPU access to GPU accessable memory -- cgit v1.2.3