aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdkfd
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2014-11-20 04:16:23 -0500
committerOded Gabbay <oded.gabbay@amd.com>2014-11-20 04:16:23 -0500
commit7347a6cbf1b5672a87975e58c8b99d882b96e9b9 (patch)
tree4355d397708783d484457e8bdb034af7b49fb947 /drivers/gpu/drm/amd/amdkfd
parent5ef360eab7e6e634c22b5821468aae3af205d2fb (diff)
amdkfd: pqm_get_kernel_queue() can be static
Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd')
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c b/drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c
index c7859fcc25ce..de2c16345693 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c
@@ -325,7 +325,8 @@ int pqm_update_queue(struct process_queue_manager *pqm, unsigned int qid,
325 return 0; 325 return 0;
326} 326}
327 327
328struct kernel_queue *pqm_get_kernel_queue(struct process_queue_manager *pqm, 328static __attribute__((unused)) struct kernel_queue *pqm_get_kernel_queue(
329 struct process_queue_manager *pqm,
329 unsigned int qid) 330 unsigned int qid)
330{ 331{
331 struct process_queue_node *pqn; 332 struct process_queue_node *pqn;