mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-07-01 23:53:16 -04:00
workqueue: deprecate cancel_rearming_delayed_work[queue]()
There's no in-kernel user left for these two obsolete functions. Mark them deprecated and schedule for removal during 2.6.39 cycle. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
afe2c511fb
commit
ed41390fa5
2 changed files with 12 additions and 2 deletions
|
@ -401,7 +401,7 @@ static inline bool __cancel_delayed_work(struct delayed_work *work)
|
|||
}
|
||||
|
||||
/* Obsolete. use cancel_delayed_work_sync() */
|
||||
static inline
|
||||
static inline __deprecated
|
||||
void cancel_rearming_delayed_workqueue(struct workqueue_struct *wq,
|
||||
struct delayed_work *work)
|
||||
{
|
||||
|
@ -409,7 +409,7 @@ void cancel_rearming_delayed_workqueue(struct workqueue_struct *wq,
|
|||
}
|
||||
|
||||
/* Obsolete. use cancel_delayed_work_sync() */
|
||||
static inline
|
||||
static inline __deprecated
|
||||
void cancel_rearming_delayed_work(struct delayed_work *work)
|
||||
{
|
||||
cancel_delayed_work_sync(work);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue