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>
This commit is contained in:
parent
4be10c1e6d
commit
856c256f88
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue