⬢ DragonFlyBSD Kernel Audit
DF-2212 / fix.diff
← back to finding ↓ download raw
--- a/sys/dev/drm/ttm/ttm_module.c
+++ b/sys/dev/drm/ttm/ttm_module.c
@@ -89,13 +89,6 @@
 static void __exit ttm_exit(void)
 {
 	drm_class_device_unregister(&ttm_drm_class_device);
-
-	/**
-	 * Refuse to unload until the TTM device is released.
-	 * Not sure this is 100% needed.
-	 */
-
-	wait_event(exit_q, atomic_read(&device_released) == 1);
 }
 
 module_init(ttm_init);