aboutsummaryrefslogtreecommitdiff
path: root/drivers/infiniband/core
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@mellanox.co.il>2006-05-25 14:51:33 -0700
committerRoland Dreier <rolandd@cisco.com>2006-06-17 20:37:33 -0700
commit856c256f883f027a14b546164294b4a86fea81a4 (patch)
treec505262354179db879aed2c8a48806f98ba6c614 /drivers/infiniband/core
parent4be10c1e6dcafec993ac4f9abfa5fdcd83728302 (diff)
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>
Diffstat (limited to 'drivers/infiniband/core')
-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 490fd03766d..1c7463b7c5f 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);