aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2014-11-20 17:16:23 +0800
committerOded Gabbay <oded.gabbay@amd.com>2014-11-20 17:16:23 +0800
commit7347a6cbf1b5672a87975e58c8b99d882b96e9b9 (patch)
tree4355d397708783d484457e8bdb034af7b49fb947 /drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c
parentamdkfd: test_kq() can be static (diff)
downloadlinux-dev-7347a6cbf1b5672a87975e58c8b99d882b96e9b9.tar.xz
linux-dev-7347a6cbf1b5672a87975e58c8b99d882b96e9b9.zip
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/kfd_process_queue_manager.c')
-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,
return 0;
}
-struct kernel_queue *pqm_get_kernel_queue(struct process_queue_manager *pqm,
+static __attribute__((unused)) struct kernel_queue *pqm_get_kernel_queue(
+ struct process_queue_manager *pqm,
unsigned int qid)
{
struct process_queue_node *pqn;