amdkfd: pqm_get_kernel_queue() can be static
authorkbuild test robot <fengguang.wu@intel.com>
Thu, 20 Nov 2014 09:16:23 +0000 (17:16 +0800)
committerOded Gabbay <oded.gabbay@amd.com>
Thu, 20 Nov 2014 09:16:23 +0000 (17:16 +0800)
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>
drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c

index c7859fcc25ce57f794a1167b22e2c2aa63afb7e3..de2c163456935b5cadacf6a784873ae5b3cc1ee8 100644 (file)
@@ -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;