aboutsummaryrefslogtreecommitdiff
path: root/include/linux
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:06:02 +0100
commite699e6209c453359f44c6458f860c7c18b7f53a9 (patch)
treec106cfff62095c9080d6ebf74e571c6f9cb4a891 /include/linux
parentac00c1e8deca748190ad933118bfe2c612dd93d8 (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')
-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)
{