summaryrefslogtreecommitdiffstats
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorAmerigo Wang <amwang@redhat.com>2011-04-06 10:43:11 +0200
committerTejun Heo <tj@kernel.org>2011-05-20 13:45:38 +0200
commit2543a87108d2af7d48a43b3d6685c2b1ea279e36 (patch)
tree78564be5e5a1ffe7834621ff2fba4dff1c394286 /include/linux/workqueue.h
parent257313b2a87795e07a0bdf58d0fffbdba8b31051 (diff)
downloadop-kernel-dev-2543a87108d2af7d48a43b3d6685c2b1ea279e36.zip
op-kernel-dev-2543a87108d2af7d48a43b3d6685c2b1ea279e36.tar.gz
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 f584aba..57b31b3 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)
return ret;
}
-/* Obsolete. use cancel_delayed_work_sync() */
-static inline __deprecated
-void cancel_rearming_delayed_workqueue(struct workqueue_struct *wq,
- struct delayed_work *work)
-{
- cancel_delayed_work_sync(work);
-}
-
-/* Obsolete. use cancel_delayed_work_sync() */
-static inline __deprecated
-void cancel_rearming_delayed_work(struct delayed_work *work)
-{
- cancel_delayed_work_sync(work);
-}
-
#ifndef CONFIG_SMP
static inline long work_on_cpu(unsigned int cpu, long (*fn)(void *), void *arg)
{
OpenPOWER on IntegriCloud