Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);