[openib-general] [PATCH] cm: dont flush wqq before destroy

Michael S. Tsirkin mst at mellanox.co.il
Mon May 15 09:38:11 PDT 2006


Sean, is there some reason CM flushes WQ an extra time?
If not ...

---

destroy_workqueue already does flush_workqueue.

Signed-off-by: Michael S. Tsirkin <mst at mellanox.co.il>

Index: cm.c
===================================================================
--- cm.c	(revision 7145)
+++ cm.c	(working copy)
@@ -3362,7 +3362,6 @@ error:
 
 static void __exit ib_cm_cleanup(void)
 {
-	flush_workqueue(cm.wq);
 	destroy_workqueue(cm.wq);
 	ib_unregister_client(&cm_client);
 	idr_destroy(&cm.local_id_table);

-- 
MST



More information about the general mailing list