mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-24 22:21:27 +00:00
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:
committed by
Gleb Chesnokov
parent
365c1365b4
commit
be99c4abca
@@ -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).
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user