amdkfd: test_kq() can be static
authorkbuild test robot <fengguang.wu@intel.com>
Thu, 20 Nov 2014 08:08:14 +0000 (16:08 +0800)
committerOded Gabbay <oded.gabbay@amd.com>
Thu, 20 Nov 2014 08:08:14 +0000 (16:08 +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_kernel_queue.c

index 555af45142378aae391b1e7daafe197049ef7c0a..424ddccafd4fdb698c05c0959b935179a1d0ecf1 100644 (file)
@@ -321,7 +321,7 @@ void kernel_queue_uninit(struct kernel_queue *kq)
        kfree(kq);
 }
 
-void test_kq(struct kfd_dev *dev)
+static __attribute__((unused)) void test_kq(struct kfd_dev *dev)
 {
        struct kernel_queue *kq;
        uint32_t *buffer, i;