workqueue: Remove deprecated flush[_delayed]_work_sync()
authorJingoo Han <jg1.han@samsung.com>
Wed, 14 May 2014 04:43:37 +0000 (13:43 +0900)
committerTejun Heo <tj@kernel.org>
Wed, 14 May 2014 17:11:23 +0000 (13:11 -0400)
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>
include/linux/workqueue.h

index 1b22c42e9c2d4f03bb2e16b32fbeb0c397b3e034..aa92d0295e280884dd0277d30019ed978dce36c5 100644 (file)
@@ -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)
 {