RDMA/irdma: Drop spurious WQ_UNBOUND from alloc_ordered_workqueue() call
authorTejun Heo <tj@kernel.org>
Thu, 20 Apr 2023 19:48:08 +0000 (09:48 -1000)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 21 Apr 2023 15:35:31 +0000 (12:35 -0300)
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: Tejun Heo <tj@kernel.org>
Acked-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/irdma/hw.c

index f683531..f588262 100644 (file)
@@ -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;