* [Patch] workqueue: remove cancel_rearming_delayed_work[queue]()
@ 2011-04-06 8:33 Amerigo Wang
2011-04-06 8:44 ` Tejun Heo
0 siblings, 1 reply; 2+ messages in thread
From: Amerigo Wang @ 2011-04-06 8:33 UTC (permalink / raw)
To: linux-kernel; +Cc: akpm, WANG Cong, Tejun Heo, Randy Dunlap, linux-doc
cancel_rearming_delayed_work() and cancel_rearming_delayed_workqueue()
can be removed now.
Signed-off-by: WANG Cong <amwang@redhat.com>
Cc: Tejun Heo <tj@kernel.org>
---
Documentation/feature-removal-schedule.txt | 10 ----------
include/linux/workqueue.h | 15 ---------------
2 files changed, 0 insertions(+), 25 deletions(-)
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt
index 274b32d..c70fb4b 100644
--- a/Documentation/feature-removal-schedule.txt
+++ b/Documentation/feature-removal-schedule.txt
@@ -541,16 +541,6 @@ Who: NeilBrown <neilb@suse.de>
----------------------------
-What: cancel_rearming_delayed_work[queue]()
-When: 2.6.39
-
-Why: The functions have been superceded by cancel_delayed_work_sync()
- quite some time ago. The conversion is trivial and there is no
- in-kernel user left.
-Who: Tejun Heo <tj@kernel.org>
-
-----------------------------
-
What: Legacy, non-standard chassis intrusion detection interface.
When: June 2011
Why: The adm9240, w83792d and w83793 hardware monitoring drivers have
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)
{
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Patch] workqueue: remove cancel_rearming_delayed_work[queue]()
2011-04-06 8:33 [Patch] workqueue: remove cancel_rearming_delayed_work[queue]() Amerigo Wang
@ 2011-04-06 8:44 ` Tejun Heo
0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2011-04-06 8:44 UTC (permalink / raw)
To: Amerigo Wang; +Cc: linux-kernel, akpm, Randy Dunlap, linux-doc
On Wed, Apr 06, 2011 at 04:33:13PM +0800, Amerigo Wang wrote:
> cancel_rearming_delayed_work() and cancel_rearming_delayed_workqueue()
> can be removed now.
>
> Signed-off-by: WANG Cong <amwang@redhat.com>
> Cc: Tejun Heo <tj@kernel.org>
Applied to wq#for-2.6.40. Thank you.
--
tejun
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-04-06 8:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-06 8:33 [Patch] workqueue: remove cancel_rearming_delayed_work[queue]() Amerigo Wang
2011-04-06 8:44 ` Tejun Heo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®