From: Oded Gabbay Date: Thu, 15 Jan 2015 10:04:10 +0000 (+0200) Subject: drm/amdkfd: Remove unused function busy_wait() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c51841fbbb566fa9cdf14c5263377969ed3f92cb;p=linux-beck.git drm/amdkfd: Remove unused function busy_wait() Signed-off-by: Oded Gabbay Acked-by: Alex Deucher --- 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;