summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>2024-12-06 13:16:14 +0100
committerAlex Deucher <alexander.deucher@amd.com>2024-12-18 12:17:32 -0500
commit0014952b1754b0dba3ea87d2d3b9784fdcec9f95 (patch)
tree595b4142a31943ddc9500fefdf3b9f8153a20241 /drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
parent2ae520cb12831d264ceb97c61f72c59d33c0dbd7 (diff)
downloadlinux-0014952b1754b0dba3ea87d2d3b9784fdcec9f95.tar.gz
linux-0014952b1754b0dba3ea87d2d3b9784fdcec9f95.tar.bz2
linux-0014952b1754b0dba3ea87d2d3b9784fdcec9f95.zip
drm/amdgpu: drop the amdgpu_device argument from amdgpu_ib_free
It's unused. Signed-off-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_job.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_job.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_job.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
index a21c510c408e..77d3ca857cb9 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
@@ -267,7 +267,7 @@ void amdgpu_job_free_resources(struct amdgpu_job *job)
f = NULL;
for (i = 0; i < job->num_ibs; ++i)
- amdgpu_ib_free(NULL, &job->ibs[i], f);
+ amdgpu_ib_free(&job->ibs[i], f);
}
static void amdgpu_job_free_cb(struct drm_sched_job *s_job)