summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd
diff options
context:
space:
mode:
authorOded Gabbay <oded.gabbay@amd.com>2015-01-15 11:04:10 +0100
committerOded Gabbay <oded.gabbay@amd.com>2015-01-15 11:04:10 +0100
commitc51841fbbb566fa9cdf14c5263377969ed3f92cb (patch)
tree9576b66b4176f5b2a44d5965d765610d4c74f889 /drivers/gpu/drm/amd
parentdrm/amdkfd: Replace cpu_relax() with schedule() in DQM (diff)
downloadlinux-c51841fbbb566fa9cdf14c5263377969ed3f92cb.tar.xz
linux-c51841fbbb566fa9cdf14c5263377969ed3f92cb.zip
drm/amdkfd: Remove unused function busy_wait()
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd')
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c6
1 files changed, 0 insertions, 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;