IB/cm: remove unneeded flush_workqueue
authorMichael S. Tsirkin <mst@mellanox.co.il>
Thu, 25 May 2006 21:51:33 +0000 (14:51 -0700)
committerRoland Dreier <rolandd@cisco.com>
Sun, 18 Jun 2006 03:37:33 +0000 (20:37 -0700)
destroy_workqueue() already does flush_workqueue().

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
drivers/infiniband/core/cm.c

index 490fd03766db93eca729124a30a9d777cd94295a..1c7463b7c5fd57c783580c6edfbc76f2af50d1d0 100644 (file)
@@ -3358,7 +3358,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);