summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeung-Woo Kim <sw0312.kim@samsung.com>2024-11-05 18:45:24 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2024-11-05 18:47:45 +0900
commit39fefc77fa8e7310a7dd62531864f59bf98a4082 (patch)
treecc1ed70cee85fe39089efaf52de3997f317e2429
parent599fb20bfe9ef19cf90022252fb23ce3df845729 (diff)
downloadlinux-riscv-39fefc77fa8e7310a7dd62531864f59bf98a4082.tar.gz
linux-riscv-39fefc77fa8e7310a7dd62531864f59bf98a4082.tar.bz2
linux-riscv-39fefc77fa8e7310a7dd62531864f59bf98a4082.zip
Remove deprecated flush_scheduled_work() and use already added flush_workqueue() without considering kernel version. Change-Id: I226e2a7bb845497aa38c020d5c178624b8768e18 Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
-rw-r--r--drivers/gpu/drm/img-rogue/pvr_fence.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/img-rogue/pvr_fence.h b/drivers/gpu/drm/img-rogue/pvr_fence.h
index 25ecc8bb9911..126eded1ef26 100644
--- a/drivers/gpu/drm/img-rogue/pvr_fence.h
+++ b/drivers/gpu/drm/img-rogue/pvr_fence.h
@@ -196,11 +196,7 @@ static inline void pvr_fence_cleanup(void)
* Ensure all PVR fence contexts have been destroyed, by flushing
* the global workqueue.
*/
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 6, 36))
flush_workqueue(NativeSyncGetFenceCtxDestroyWq());
-#else
- flush_scheduled_work();
-#endif
}
#endif