From b3cc61715483ffd3f4118dc925ffbeb2b0f82280 Mon Sep 17 00:00:00 2001 From: Gleb Chesnokov Date: Mon, 31 Oct 2022 22:17:02 +0300 Subject: [PATCH] scst/include/backport.h: Remove unused workqueues backport All Linux kernel versions supported by SCST already implement alloc_ordered_workqueue(), so remove its backport. --- scst/include/backport.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/scst/include/backport.h b/scst/include/backport.h index 630edcea9..67886bc28 100644 --- a/scst/include/backport.h +++ b/scst/include/backport.h @@ -1354,17 +1354,6 @@ static inline void put_unaligned_be24(const uint32_t v, uint8_t *const p) } #endif -/* */ - -/* - * To do: backport alloc_ordered_workqueue(). See also commit 81dcaf6516d8 - * ("workqueue: implement alloc_ordered_workqueue()"; v2.6.37). - */ -#ifndef alloc_ordered_workqueue -#define alloc_ordered_workqueue(fmt, flags, args...) \ - ({ WARN_ON_ONCE(true); ERR_PTR(-ENOMEM); }) -#endif - /* */ /* commit ed082d36 */