summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2014-11-20 09:08:14 +0100
committerOded Gabbay <oded.gabbay@amd.com>2014-11-20 09:08:14 +0100
commit5ef360eab7e6e634c22b5821468aae3af205d2fb (patch)
tree103d322c7599108b253a55525b6502fdce12163e /drivers/gpu/drm/amd
parentamdkfd: Fix sparse warnings in kfd_topology.c (diff)
downloadlinux-5ef360eab7e6e634c22b5821468aae3af205d2fb.tar.xz
linux-5ef360eab7e6e634c22b5821468aae3af205d2fb.zip
amdkfd: test_kq() 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')
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c b/drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c
index 555af4514237..424ddccafd4f 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c
@@ -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;