summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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