scst/include/backport.h: Remove WQ_NON_REENTRANT definition

Remove this macro since it is no longer needed after support
was dropped for kernels before 3.10.
This commit is contained in:
Chesnokov Gleb
2022-01-17 03:15:06 +03:00
committed by Gleb Chesnokov
parent 365c1365b4
commit be99c4abca
2 changed files with 1 additions and 7 deletions

View File

@@ -1313,12 +1313,6 @@ static inline void put_unaligned_be24(const uint32_t v, uint8_t *const p)
/* <linux/workqueue.h> */
/*
* See also commits dbf2576e37da ("workqueue: make all workqueues
* non-reentrant"; v3.7).
*/
#define WQ_NON_REENTRANT 0
/*
* To do: backport alloc_ordered_workqueue(). See also commit 81dcaf6516d8
* ("workqueue: implement alloc_ordered_workqueue()"; v2.6.37).

View File

@@ -4589,7 +4589,7 @@ static int __init srpt_init_module(void)
goto out;
}
srpt_wq = alloc_workqueue("srpt", WQ_SYSFS | WQ_NON_REENTRANT, 0);
srpt_wq = alloc_workqueue("srpt", WQ_SYSFS, 0);
if (!srpt_wq) {
pr_err("Couldn't allocate the ib_srpt workqueue\n");
ret = -ENOMEM;