aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@mellanox.co.il>2006-05-25 17:51:33 -0400
committerRoland Dreier <rolandd@cisco.com>2006-06-17 23:37:33 -0400
commit856c256f883f027a14b546164294b4a86fea81a4 (patch)
treec505262354179db879aed2c8a48806f98ba6c614 /drivers/infiniband
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')
-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:
3358 3358
3359static void __exit ib_cm_cleanup(void) 3359static void __exit ib_cm_cleanup(void)
3360{ 3360{
3361 flush_workqueue(cm.wq);
3362 destroy_workqueue(cm.wq); 3361 destroy_workqueue(cm.wq);
3363 ib_unregister_client(&cm_client); 3362 ib_unregister_client(&cm_client);
3364 idr_destroy(&cm.local_id_table); 3363 idr_destroy(&cm.local_id_table);