mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +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
2 changed files with 0 additions and 25 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue