diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2019-06-26 16:52:37 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2019-06-27 14:12:15 -0700 |
commit | 2c9858ecbeb1e68224290043445990e29337d4c0 (patch) | |
tree | 5271b3e1cc763cf570ede2bd63fb479523e67c34 /include/linux/workqueue.h | |
parent | 249155c20f9b0754bc1b932a33344cfb4e0c2101 (diff) | |
download | lwn-2c9858ecbeb1e68224290043445990e29337d4c0.tar.gz lwn-2c9858ecbeb1e68224290043445990e29337d4c0.zip |
workqueue: Make alloc/apply/free_workqueue_attrs() static
None of those functions have any users outside of workqueue.c. Confine
them.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/workqueue.h')
-rw-r--r-- | include/linux/workqueue.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index d59525fca4d3..b7c585b5ec1c 100644 --- a/include/linux/workqueue.h +++ b/include/linux/workqueue.h @@ -435,10 +435,6 @@ struct workqueue_struct *alloc_workqueue(const char *fmt, extern void destroy_workqueue(struct workqueue_struct *wq); -struct workqueue_attrs *alloc_workqueue_attrs(gfp_t gfp_mask); -void free_workqueue_attrs(struct workqueue_attrs *attrs); -int apply_workqueue_attrs(struct workqueue_struct *wq, - const struct workqueue_attrs *attrs); int workqueue_set_unbound_cpumask(cpumask_var_t cpumask); extern bool queue_work_on(int cpu, struct workqueue_struct *wq, |