Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdkfd: Remove unused function busy_wait()

Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>

-6
-6
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c
··· 28 28 #include "cik_regs.h" 29 29 #include "cik_structs.h" 30 30 31 - inline void busy_wait(unsigned long ms) 32 - { 33 - while (time_before(jiffies, ms)) 34 - cpu_relax(); 35 - } 36 - 37 31 static inline struct cik_mqd *get_mqd(void *mqd) 38 32 { 39 33 return (struct cik_mqd *)mqd;