Commit 856c256f authored by Michael S. Tsirkin's avatar Michael S. Tsirkin Committed by Roland Dreier

IB/cm: remove unneeded flush_workqueue

destroy_workqueue() already does flush_workqueue().
Signed-off-by: default avatarMichael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: default avatarSean Hefty <sean.hefty@intel.com>
parent 4be10c1e
...@@ -3358,7 +3358,6 @@ error: ...@@ -3358,7 +3358,6 @@ error:
static void __exit ib_cm_cleanup(void) static void __exit ib_cm_cleanup(void)
{ {
flush_workqueue(cm.wq);
destroy_workqueue(cm.wq); destroy_workqueue(cm.wq);
ib_unregister_client(&cm_client); ib_unregister_client(&cm_client);
idr_destroy(&cm.local_id_table); idr_destroy(&cm.local_id_table);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment