Commit 109205b4 authored by Tejun Heo's avatar Tejun Heo Committed by Jason Gunthorpe
Browse files

RDMA/irdma: Drop spurious WQ_UNBOUND from alloc_ordered_workqueue() call

Workqueue is in the process of cleaning up the distinction between unbound
workqueues w/ @nr_active==1 and ordered workqueues. Explicit WQ_UNBOUND
isn't needed for alloc_ordered_workqueue() and will trigger a warning in
the future. Let's remove it. This doesn't cause any functional changes.

Link: https://lore.kernel.org/r/ZEGW-IcFReR1juVM@slm.duckdns.org


Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Acked-by: default avatarShiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@nvidia.com>
parent 10af3031
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1908,8 +1908,8 @@ int irdma_ctrl_init_hw(struct irdma_pci_f *rf)
			break;
		rf->init_state = CEQ0_CREATED;
		/* Handles processing of CQP completions */
		rf->cqp_cmpl_wq = alloc_ordered_workqueue("cqp_cmpl_wq",
						WQ_HIGHPRI | WQ_UNBOUND);
		rf->cqp_cmpl_wq =
			alloc_ordered_workqueue("cqp_cmpl_wq", WQ_HIGHPRI);
		if (!rf->cqp_cmpl_wq) {
			status = -ENOMEM;
			break;