Skip to contentSkip to conversation

workqueue: Remove deprecated flush[_delayed]_work_sync()

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 flush[_delayed]_work_sync()

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.

---
 include/linux/workqueue.h |   12 ------------
 1 file changed, 12 deletions(-)
include/linux/workqueue.h +0 -12
index 1b22c42..aa92d02 100644
@@ -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)
 {
Signature · 1 line
1.7.10.4
maintainer Applied
#1 lore raw
Quoted 6 lines · 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.

Applied to wq/for-3.16.

Thanks.

Signature · 1 line
tejun