Skip to content

Commit 4268329

Browse files
htejunStefan-Schmidt
authored andcommitted
ieee802154: ca8210: 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. Signed-off-by: Tejun Heo <[email protected]> Reviewed-by: Miquel Raynal <[email protected]> Message-ID: <[email protected]> Signed-off-by: Stefan Schmidt <[email protected]>
1 parent 36cc392 commit 4268329

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

drivers/net/ieee802154/ca8210.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2857,19 +2857,13 @@ static int ca8210_interrupt_init(struct spi_device *spi)
28572857
*/
28582858
static int ca8210_dev_com_init(struct ca8210_priv *priv)
28592859
{
2860-
priv->mlme_workqueue = alloc_ordered_workqueue(
2861-
"MLME work queue",
2862-
WQ_UNBOUND
2863-
);
2860+
priv->mlme_workqueue = alloc_ordered_workqueue("MLME work queue", 0);
28642861
if (!priv->mlme_workqueue) {
28652862
dev_crit(&priv->spi->dev, "alloc of mlme_workqueue failed!\n");
28662863
return -ENOMEM;
28672864
}
28682865

2869-
priv->irq_workqueue = alloc_ordered_workqueue(
2870-
"ca8210 irq worker",
2871-
WQ_UNBOUND
2872-
);
2866+
priv->irq_workqueue = alloc_ordered_workqueue("ca8210 irq worker", 0);
28732867
if (!priv->irq_workqueue) {
28742868
dev_crit(&priv->spi->dev, "alloc of irq_workqueue failed!\n");
28752869
destroy_workqueue(priv->mlme_workqueue);

0 commit comments

Comments
 (0)