aboutsummaryrefslogtreecommitdiff
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-05-14 13:43:37 +0900
committerMoyster <oysterized@gmail.com>2017-12-05 18:08:35 +0100
commit58ce86cb519b010745d8d4984ebbfb7fd98e201d (patch)
tree9f873e329378af92bbeae5955572a1ab6264f801 /include/linux/workqueue.h
parent94797b131475aadcec9511c355b4ce923cac417b (diff)
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. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/workqueue.h')
-rw-r--r--include/linux/workqueue.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h
index 4e0fd3af7..b9e8d4e2c 100644
--- a/include/linux/workqueue.h
+++ b/include/linux/workqueue.h
@@ -620,18 +620,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)
{