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

Commit 96e61fa5 authored by Tejun Heo's avatar Tejun Heo Committed by Roland Dreier
Browse files

RDMA: Update missed conversion of flush_scheduled_work()



Commit f0626710 ("RDMA: Update workqueue usage") introduced ib_wq
and removed the use of flush_scheduled_work(); however, during the merge
process one chunk was lost in ib_sa_remove_one().  Fix it.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Signed-off-by: default avatarRoland Dreier <roland@purestorage.com>
parent a25cecce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1079,7 +1079,7 @@ static void ib_sa_remove_one(struct ib_device *device)

	ib_unregister_event_handler(&sa_dev->event_handler);

	flush_scheduled_work();
	flush_workqueue(ib_wq);

	for (i = 0; i <= sa_dev->end_port - sa_dev->start_port; ++i) {
		if (rdma_port_get_link_layer(device, i + 1) == IB_LINK_LAYER_INFINIBAND) {