From: kbuild test robot Date: Thu, 20 Nov 2014 08:08:14 +0000 (+0800) Subject: amdkfd: test_kq() can be static X-Git-Tag: Ubuntu-5.10.0-12.13~15687^2~22^2~15 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=5ef360eab7e6e634c22b5821468aae3af205d2fb;p=mirror_ubuntu-hirsute-kernel.git amdkfd: test_kq() can be static Reviewed-by: Alex Deucher Signed-off-by: Fengguang Wu Signed-off-by: Oded Gabbay --- 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;