drm/amdkfd: Remove set but not used variable 'preempt_all_queues'
authorYueHaibing <yuehaibing@huawei.com>
Tue, 9 Oct 2018 01:53:00 +0000 (01:53 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Oct 2018 19:49:42 +0000 (14:49 -0500)
commitae5c59a83b84b46aeabde95495a50dfec101d7d6
tree34baa3f56c4a3640443bb2cd4e69373bdcdca193
parent14b284832e7dea6f54f0adfd7bed105548b94e57
drm/amdkfd: Remove set but not used variable 'preempt_all_queues'

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

drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c: In function 'destroy_queue_cpsch':
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c:1366:7: warning:
 variable 'preempt_all_queues' set but not used [-Wunused-but-set-variable]

It never used since introduct in
commit 992839ad64f2 ("drm/amdkfd: Add static user-mode queues support")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c