mirror of
https://github.com/torvalds/linux.git
synced 2024-12-12 06:02:38 +00:00
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>
This commit is contained in:
parent
257313b2a8
commit
2543a87108
@ -513,16 +513,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.
|
What: Legacy, non-standard chassis intrusion detection interface.
|
||||||
When: June 2011
|
When: June 2011
|
||||||
Why: The adm9240, w83792d and w83793 hardware monitoring drivers have
|
Why: The adm9240, w83792d and w83793 hardware monitoring drivers have
|
||||||
|
@ -412,21 +412,6 @@ static inline bool __cancel_delayed_work(struct delayed_work *work)
|
|||||||
return ret;
|
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
|
#ifndef CONFIG_SMP
|
||||||
static inline long work_on_cpu(unsigned int cpu, long (*fn)(void *), void *arg)
|
static inline long work_on_cpu(unsigned int cpu, long (*fn)(void *), void *arg)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user