瀏覽代碼

drm/amdkfd: Remove unused function busy_wait()

Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Oded Gabbay 10 年之前
父節點
當前提交
c51841fbbb
共有 1 個文件被更改,包括 0 次插入6 次删除
  1. 0 6
      drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c

+ 0 - 6
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;