]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/amdkfd: Remove unused function busy_wait()
authorOded Gabbay <oded.gabbay@amd.com>
Thu, 15 Jan 2015 10:04:10 +0000 (12:04 +0200)
committerOded Gabbay <oded.gabbay@amd.com>
Thu, 15 Jan 2015 10:04:10 +0000 (12:04 +0200)
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c

index 7b28f6e74c321e1fcb34059a6b9231c5554f3c27..4e582debfaa91d385bc0311f059fa1891bb15061 100644 (file)
 #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;