summaryrefslogtreecommitdiff
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorYu Chen <chen.yu@easystack.cn>2020-02-23 15:28:52 +0800
committerTejun Heo <tj@kernel.org>2020-03-04 11:21:49 -0500
commit2333e829952fb437db915bbb17f4d8c43127d438 (patch)
tree7c0467e47c43ca3859d66087adbce03402ec1e02 /include/linux/workqueue.h
parent8b614cb8f1dcac8ca77cf4dd85f46ef3055f8238 (diff)
workqueue: Make workqueue_init*() return void
The return values of workqueue_init() and workqueue_early_int() are always 0, and there is no usage of their return value. So just make them return void. Signed-off-by: Yu Chen <chen.yu@easystack.cn> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/workqueue.h')
-rw-r--r--include/linux/workqueue.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h
index 4261d1c6e87b..c86a7691e13c 100644
--- a/include/linux/workqueue.h
+++ b/include/linux/workqueue.h
@@ -649,7 +649,7 @@ int workqueue_online_cpu(unsigned int cpu);
int workqueue_offline_cpu(unsigned int cpu);
#endif
-int __init workqueue_init_early(void);
-int __init workqueue_init(void);
+void __init workqueue_init_early(void);
+void __init workqueue_init(void);
#endif