diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/workqueue.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index bd257fee6031..1ac11586a2f5 100644 --- a/include/linux/workqueue.h +++ b/include/linux/workqueue.h | |||
| @@ -409,7 +409,7 @@ static inline bool __cancel_delayed_work(struct delayed_work *work) | |||
| 409 | } | 409 | } |
| 410 | 410 | ||
| 411 | /* Obsolete. use cancel_delayed_work_sync() */ | 411 | /* Obsolete. use cancel_delayed_work_sync() */ |
| 412 | static inline | 412 | static inline __deprecated |
| 413 | void cancel_rearming_delayed_workqueue(struct workqueue_struct *wq, | 413 | void cancel_rearming_delayed_workqueue(struct workqueue_struct *wq, |
| 414 | struct delayed_work *work) | 414 | struct delayed_work *work) |
| 415 | { | 415 | { |
| @@ -417,7 +417,7 @@ void cancel_rearming_delayed_workqueue(struct workqueue_struct *wq, | |||
| 417 | } | 417 | } |
| 418 | 418 | ||
| 419 | /* Obsolete. use cancel_delayed_work_sync() */ | 419 | /* Obsolete. use cancel_delayed_work_sync() */ |
| 420 | static inline | 420 | static inline __deprecated |
| 421 | void cancel_rearming_delayed_work(struct delayed_work *work) | 421 | void cancel_rearming_delayed_work(struct delayed_work *work) |
| 422 | { | 422 | { |
| 423 | cancel_delayed_work_sync(work); | 423 | cancel_delayed_work_sync(work); |
