summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@mellanox.co.il>2006-05-25 23:51:33 +0200
committerRoland Dreier <rolandd@cisco.com>2006-06-18 05:37:33 +0200
commit856c256f883f027a14b546164294b4a86fea81a4 (patch)
treec505262354179db879aed2c8a48806f98ba6c614
parentIB/ucm: convert semaphore to mutex (diff)
downloadlinux-856c256f883f027a14b546164294b4a86fea81a4.tar.xz
linux-856c256f883f027a14b546164294b4a86fea81a4.zip
IB/cm: remove unneeded flush_workqueue
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>
-rw-r--r--drivers/infiniband/core/cm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/core/cm.c b/drivers/infiniband/core/cm.c
index 490fd03766db..1c7463b7c5fd 100644
--- a/drivers/infiniband/core/cm.c
+++ b/drivers/infiniband/core/cm.c
@@ -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);