* [PATCH] workqueue: Remove deprecated system_nrt[_freezable]_wq
@ 2014-05-14 4:58 Jingoo Han
2014-05-14 17:14 ` 'Tejun Heo'
0 siblings, 1 reply; 2+ messages in thread
From: Jingoo Han @ 2014-05-14 4:58 UTC (permalink / raw)
To: 'Tejun Heo'; +Cc: linux-kernel, '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.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
include/linux/workqueue.h | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h
index 1b22c42..11dcc89 100644
--- a/include/linux/workqueue.h
+++ b/include/linux/workqueue.h
@@ -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);
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] workqueue: Remove deprecated system_nrt[_freezable]_wq
2014-05-14 4:58 [PATCH] workqueue: Remove deprecated system_nrt[_freezable]_wq Jingoo Han
@ 2014-05-14 17:14 ` 'Tejun Heo'
0 siblings, 0 replies; 2+ messages in thread
From: 'Tejun Heo' @ 2014-05-14 17:14 UTC (permalink / raw)
To: Jingoo Han; +Cc: linux-kernel
On Wed, May 14, 2014 at 01:58:06PM +0900, Jingoo Han wrote:
> 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.
>
> Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Applied to wq/for-3.16.
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-05-14 17:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-14 4:58 [PATCH] workqueue: Remove deprecated system_nrt[_freezable]_wq Jingoo Han
2014-05-14 17:14 ` 'Tejun Heo'
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).