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 <[EMAIL PROTECTED]>

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
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to