]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: remove set but not used variable 'priority'
authorZheng Bin <zhengbin13@huawei.com>
Thu, 30 Apr 2020 02:26:51 +0000 (10:26 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Apr 2020 20:48:55 +0000 (16:48 -0400)
commitedfa80995b4b2af6f5811fb94553b82b8fe4dc55
treea8bac596b2b7888b5a84112a5a2285ce619de153
parentac7e519eb8a57ebb0d5e3356991060066e465a41
drm/amdgpu: remove set but not used variable 'priority'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:1211:26: warning: variable ‘priority’ set but not used

It is not used since commit d6268e1a2ca8 ("drm/amdgpu:
set compute queue priority at mqd_init")

Reviewed-by: Christian König <christian.koenig@amd.com>
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zheng Bin <zhengbin13@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c