Skip to content

Commit

Permalink
IB/cm: remove unneeded flush_workqueue
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael S. Tsirkin authored and Roland Dreier committed Jun 18, 2006
1 parent 4be10c1 commit 856c256
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/infiniband/core/cm.c
Original file line number Diff line number Diff line change
Expand Up @@ -3358,7 +3358,6 @@ static int __init ib_cm_init(void)

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);
Expand Down

0 comments on commit 856c256

Please sign in to comment.