summaryrefslogtreecommitdiffstats
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorStephen Hemminger2018-03-07 04:34:42 +0100
committerTejun Heo2018-03-13 21:37:42 +0100
commit6417250d3f894e66a68ba1cd93676143f2376a6f (patch)
tree7e5c7b35f35ec34732cbabf303bb028430e35b3d /include/linux/workqueue.h
parentworkqueue: use put_device() instead of kfree() (diff)
downloadkernel-qcow2-linux-6417250d3f894e66a68ba1cd93676143f2376a6f.tar.gz
kernel-qcow2-linux-6417250d3f894e66a68ba1cd93676143f2376a6f.tar.xz
kernel-qcow2-linux-6417250d3f894e66a68ba1cd93676143f2376a6f.zip
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.h1
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);