linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] workqueue: Remove deprecated flush[_delayed]_work_sync()
@ 2014-05-14  4:43 Jingoo Han
  2014-05-14 17:12 ` 'Tejun Heo'
  0 siblings, 1 reply; 2+ messages in thread
From: Jingoo Han @ 2014-05-14  4:43 UTC (permalink / raw)
  To: 'Tejun Heo'; +Cc: linux-kernel, 'Jingoo Han'

flush[_delayed]_work_sync() were deprecated by 4382973 ("workqueue:
deprecate flush[_delayed]_work_sync()") 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 |   12 ------------
 1 file changed, 12 deletions(-)

diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h
index 1b22c42..aa92d02 100644
--- a/include/linux/workqueue.h
+++ b/include/linux/workqueue.h
@@ -587,18 +587,6 @@ static inline bool keventd_up(void)
 	return system_wq != NULL;
 }
 
-/* used to be different but now identical to flush_work(), deprecated */
-static inline bool __deprecated flush_work_sync(struct work_struct *work)
-{
-	return flush_work(work);
-}
-
-/* used to be different but now identical to flush_delayed_work(), deprecated */
-static inline bool __deprecated flush_delayed_work_sync(struct delayed_work *dwork)
-{
-	return flush_delayed_work(dwork);
-}
-
 #ifndef CONFIG_SMP
 static inline long work_on_cpu(int cpu, long (*fn)(void *), void *arg)
 {
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] workqueue: Remove deprecated flush[_delayed]_work_sync()
  2014-05-14  4:43 [PATCH] workqueue: Remove deprecated flush[_delayed]_work_sync() Jingoo Han
@ 2014-05-14 17:12 ` 'Tejun Heo'
  0 siblings, 0 replies; 2+ messages in thread
From: 'Tejun Heo' @ 2014-05-14 17:12 UTC (permalink / raw)
  To: Jingoo Han; +Cc: linux-kernel

On Wed, May 14, 2014 at 01:43:37PM +0900, Jingoo Han wrote:
> flush[_delayed]_work_sync() were deprecated by 4382973 ("workqueue:
> deprecate flush[_delayed]_work_sync()") 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:12 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:43 [PATCH] workqueue: Remove deprecated flush[_delayed]_work_sync() Jingoo Han
2014-05-14 17:12 ` '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).