Revert "wifi: libertas: WQ_PERCPU added to alloc_workqueue users"
This reverts commit 1e06a13751 ("wifi: libertas: WQ_PERCPU added
to alloc_workqueue users") since there's really no reason to use
per-CPU here.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
@@ -1181,8 +1181,7 @@ static int if_sdio_probe(struct sdio_func *func,
|
||||
spin_lock_init(&card->lock);
|
||||
INIT_LIST_HEAD(&card->packets);
|
||||
|
||||
card->workqueue = alloc_workqueue("libertas_sdio",
|
||||
WQ_MEM_RECLAIM | WQ_PERCPU, 0);
|
||||
card->workqueue = alloc_workqueue("libertas_sdio", WQ_MEM_RECLAIM, 0);
|
||||
if (unlikely(!card->workqueue)) {
|
||||
ret = -ENOMEM;
|
||||
goto err_queue;
|
||||
|
||||
@@ -1153,8 +1153,7 @@ static int if_spi_probe(struct spi_device *spi)
|
||||
priv->fw_ready = 1;
|
||||
|
||||
/* Initialize interrupt handling stuff. */
|
||||
card->workqueue = alloc_workqueue("libertas_spi",
|
||||
WQ_MEM_RECLAIM | WQ_PERCPU, 0);
|
||||
card->workqueue = alloc_workqueue("libertas_spi", WQ_MEM_RECLAIM, 0);
|
||||
if (!card->workqueue) {
|
||||
err = -ENOMEM;
|
||||
goto remove_card;
|
||||
|
||||
@@ -708,7 +708,7 @@ EXPORT_SYMBOL_GPL(lbtf_bcn_sent);
|
||||
static int __init lbtf_init_module(void)
|
||||
{
|
||||
lbtf_deb_enter(LBTF_DEB_MAIN);
|
||||
lbtf_wq = alloc_workqueue("libertastf", WQ_MEM_RECLAIM | WQ_PERCPU, 0);
|
||||
lbtf_wq = alloc_workqueue("libertastf", WQ_MEM_RECLAIM, 0);
|
||||
if (lbtf_wq == NULL) {
|
||||
printk(KERN_ERR "libertastf: couldn't create workqueue\n");
|
||||
return -ENOMEM;
|
||||
|
||||
Reference in New Issue
Block a user