diff options
author | Stephen Hemminger <stephen@networkplumber.org> | 2018-03-07 06:34:42 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2018-03-13 23:37:42 +0300 |
commit | 6417250d3f894e66a68ba1cd93676143f2376a6f (patch) | |
tree | 7e5c7b35f35ec34732cbabf303bb028430e35b3d /include/linux/workqueue.h | |
parent | 537f4146c53c95aac977852b371bafb9c6755ee1 (diff) | |
download | linux-6417250d3f894e66a68ba1cd93676143f2376a6f.tar.xz |
workqueue: remove unused cancel_work()
Found this by accident.
There are no usages of bare cancel_work() in current kernel source.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/workqueue.h')
-rw-r--r-- | include/linux/workqueue.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index bc0cda180c8b..0c3301421c57 100644 --- a/include/linux/workqueue.h +++ b/include/linux/workqueue.h @@ -456,7 +456,6 @@ extern int schedule_on_each_cpu(work_func_t func); int execute_in_process_context(work_func_t fn, struct execute_work *); extern bool flush_work(struct work_struct *work); -extern bool cancel_work(struct work_struct *work); extern bool cancel_work_sync(struct work_struct *work); extern bool flush_delayed_work(struct delayed_work *dwork); |