mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-07-01 23:53:16 -04:00
workqueue: deprecate __cancel_delayed_work()
Now that cancel_delayed_work() can be safely called from IRQ handlers, there's no reason to use __cancel_delayed_work(). Use cancel_delayed_work() instead of __cancel_delayed_work() and mark the latter deprecated. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Jens Axboe <axboe@kernel.dk> Cc: Jiri Kosina <jkosina@suse.cz> Cc: Roland Dreier <roland@kernel.org> Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:
parent
57b30ae77b
commit
136b5721d7
5 changed files with 5 additions and 5 deletions
|
@ -434,7 +434,7 @@ extern unsigned int work_busy(struct work_struct *work);
|
|||
* if it returns 0 the timer function may be running and the queueing is in
|
||||
* progress.
|
||||
*/
|
||||
static inline bool __cancel_delayed_work(struct delayed_work *work)
|
||||
static inline bool __deprecated __cancel_delayed_work(struct delayed_work *work)
|
||||
{
|
||||
bool ret;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue