aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c
diff options
context:
space:
mode:
authorJunwei Zhang <[email protected]>2015-09-06 06:00:46 +0000
committerAlex Deucher <[email protected]>2015-11-16 22:01:32 +0000
commitbbf0b34578a71f42d19bd6c966f09221044921fe (patch)
tree957ae3dd7388c7078b8d8494bb667257e14397cb /drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c
parentdrm/amdgpu: wait interruptible when semaphores are disabled v2 (diff)
downloadkernel-bbf0b34578a71f42d19bd6c966f09221044921fe.tar.gz
kernel-bbf0b34578a71f42d19bd6c966f09221044921fe.zip
drm/amdgpu: remove the unnecessary parameter adev for amdgpu_sa_bo_new()
Signed-off-by: Junwei Zhang <[email protected]> Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c
index 0212b31dc194..8b88edb0434b 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c
@@ -311,8 +311,7 @@ static bool amdgpu_sa_bo_next_hole(struct amdgpu_sa_manager *sa_manager,
return false;
}
-int amdgpu_sa_bo_new(struct amdgpu_device *adev,
- struct amdgpu_sa_manager *sa_manager,
+int amdgpu_sa_bo_new(struct amdgpu_sa_manager *sa_manager,
struct amdgpu_sa_bo **sa_bo,
unsigned size, unsigned align)
{