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>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user