From c51841fbbb566fa9cdf14c5263377969ed3f92cb Mon Sep 17 00:00:00 2001 From: Oded Gabbay Date: Thu, 15 Jan 2015 12:04:10 +0200 Subject: [PATCH] drm/amdkfd: Remove unused function busy_wait() Signed-off-by: Oded Gabbay Acked-by: Alex Deucher --- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c b/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c index 7b28f6e74c32..4e582debfaa9 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c +++ b/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c @@ -28,12 +28,6 @@ #include "cik_regs.h" #include "cik_structs.h" -inline void busy_wait(unsigned long ms) -{ - while (time_before(jiffies, ms)) - cpu_relax(); -} - static inline struct cik_mqd *get_mqd(void *mqd) { return (struct cik_mqd *)mqd; -- 2.39.5