drm/amdgpu: remove set but not used variable 'priority'
authorYueHaibing <yuehaibing@huawei.com>
Tue, 21 Apr 2020 02:41:25 +0000 (10:41 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 23 Apr 2020 19:06:41 +0000 (15:06 -0400)
commit00aba6da21e5886e4d279bc3679cd2b4548d10f1
tree5e805ad4f4be11c677e535bb12485c0432174aa2
parent408d9121004d431fd2fd991fe461bf4891de6952
drm/amdgpu: remove set but not used variable 'priority'

drivers/gpu/drm/amd/amdgpu/amdgpu_job.c: In function amdgpu_job_submit:
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c:148:26: warning: variable priority set but not used [-Wunused-but-set-variable]

commit 33abcb1f5a17 ("drm/amdgpu: set compute queue priority at mqd_init")
left behind this, remove it.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c