]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/linux/workqueue.h
workqueue: deprecate __cancel_delayed_work()
[mirror_ubuntu-bionic-kernel.git] / include / linux / workqueue.h
index 4898289564abbc6ff6d899750be20b859e813615..2b58905d3504f71f71bb7636f2e195c80090c577 100644 (file)
@@ -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;