summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c
diff options
context:
space:
mode:
authorOded Gabbay <oded.gabbay@amd.com>2015-01-15 12:04:10 +0200
committerOded Gabbay <oded.gabbay@amd.com>2015-01-15 12:04:10 +0200
commitc51841fbbb566fa9cdf14c5263377969ed3f92cb (patch)
tree9576b66b4176f5b2a44d5965d765610d4c74f889 /drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c
parent99331a51cc788cb60780278cf2d6b1105cf23828 (diff)
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/amdkfd/kfd_mqd_manager_cik.c')
-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;