Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <tj@kernel.org>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Message-ID: <ZcF1El7fn5xkeoB1@slm.duckdns.org>
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>

authored by

Tejun Heo and committed by
Stefan Schmidt
42683294 36cc392d

+2 -8
+2 -8
drivers/net/ieee802154/ca8210.c
··· 2857 2857 */ 2858 2858 static int ca8210_dev_com_init(struct ca8210_priv *priv) 2859 2859 { 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); 2864 2861 if (!priv->mlme_workqueue) { 2865 2862 dev_crit(&priv->spi->dev, "alloc of mlme_workqueue failed!\n"); 2866 2863 return -ENOMEM; 2867 2864 } 2868 2865 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); 2873 2867 if (!priv->irq_workqueue) { 2874 2868 dev_crit(&priv->spi->dev, "alloc of irq_workqueue failed!\n"); 2875 2869 destroy_workqueue(priv->mlme_workqueue);