aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorAmerigo Wang <amwang@redhat.com>2011-04-06 04:43:11 -0400
committerTejun Heo <tj@kernel.org>2011-05-20 07:45:38 -0400
commit2543a87108d2af7d48a43b3d6685c2b1ea279e36 (patch)
tree78564be5e5a1ffe7834621ff2fba4dff1c394286 /include/linux/workqueue.h
parent257313b2a87795e07a0bdf58d0fffbdba8b31051 (diff)
workqueue: remove cancel_rearming_delayed_work[queue]()
cancel_rearming_delayed_work() and cancel_rearming_delayed_workqueue() can be removed now. Signed-off-by: WANG Cong <amwang@redhat.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/workqueue.h')
-rw-r--r--include/linux/workqueue.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h
index f584aba78ca9..57b31b3d83bd 100644
--- a/include/linux/workqueue.h
+++ b/include/linux/workqueue.h
@@ -412,21 +412,6 @@ static inline bool __cancel_delayed_work(struct delayed_work *work)
412 return ret; 412 return ret;
413} 413}
414 414
415/* Obsolete. use cancel_delayed_work_sync() */
416static inline __deprecated
417void cancel_rearming_delayed_workqueue(struct workqueue_struct *wq,
418 struct delayed_work *work)
419{
420 cancel_delayed_work_sync(work);
421}
422
423/* Obsolete. use cancel_delayed_work_sync() */
424static inline __deprecated
425void cancel_rearming_delayed_work(struct delayed_work *work)
426{
427 cancel_delayed_work_sync(work);
428}
429
430#ifndef CONFIG_SMP 415#ifndef CONFIG_SMP
431static inline long work_on_cpu(unsigned int cpu, long (*fn)(void *), void *arg) 416static inline long work_on_cpu(unsigned int cpu, long (*fn)(void *), void *arg)
432{ 417{