Skip to contentSkip to conversation

workqueue: Remove deprecated system_nrt[_freezable]_wq

PATCH Applied Jingoo Han 2 participants 2 messages May 14, 2014 Workqueue

lore
Share & tools
lore

Jingoo Han

author
#0 lore raw

PATCH 1/1 workqueue: Remove deprecated system_nrt[_freezable]_wq

system_nrt[_freezable]_wq were deprecated by 3b07e9c ("workqueue:
deprecate system_nrt[_freezable]_wq") and have been deprecated for a long time. In addition, these are not used anymore. So, let's remove these functions.

---
 include/linux/workqueue.h |   14 --------------
 1 file changed, 14 deletions(-)
include/linux/workqueue.h +0 -14
index 1b22c42..11dcc89 100644
@@ -364,20 +364,6 @@ extern struct workqueue_struct *system_freezable_wq;
 extern struct workqueue_struct *system_power_efficient_wq;
 extern struct workqueue_struct *system_freezable_power_efficient_wq;
 
-static inline struct workqueue_struct * __deprecated __system_nrt_wq(void)
-{
-	return system_wq;
-}
-
-static inline struct workqueue_struct * __deprecated __system_nrt_freezable_wq(void)
-{
-	return system_freezable_wq;
-}
-
-/* equivlalent to system_wq and system_freezable_wq, deprecated */
-#define system_nrt_wq			__system_nrt_wq()
-#define system_nrt_freezable_wq		__system_nrt_freezable_wq()
-
 extern struct workqueue_struct *
 __alloc_workqueue_key(const char *fmt, unsigned int flags, int max_active,
 	struct lock_class_key *key, const char *lock_name, ...) __printf(1, 6);
Signature · 1 line
1.7.10.4
maintainer Applied
#1 lore raw
Quoted 6 lines · Jingoo Han

system_nrt[_freezable]_wq were deprecated by 3b07e9c ("workqueue:
deprecate system_nrt[_freezable]_wq") and have been deprecated for a long time. In addition, these are not used anymore. So, let's remove these functions.

Applied to wq/for-3.16.

Thanks.

Signature · 1 line
tejun