workqueue: kill run_scheduled_work()
PATCH 1/6 workqueue: kill run_scheduled_work()
because it has no callers.
Actually, I think the whole idea of run_scheduled_work() was not right, not good to mix "unqueue this work and execute its ->func()" in one function.
Signed-off-by Oleg Nesterov <[email protected]>
include/linux/workqueue.h renamed from include/linux/workqueue.h~1_del_rsw +0 -1
@@ -176,7 +176,6 @@ extern void flush_work(struct workqueue_extern void flush_work_keventd (struct work_struct *work);extern int FASTCALL (schedule_work (struct work_struct *work)); -extern int FASTCALL (run_scheduled_work (struct work_struct *work));extern int FASTCALL (schedule_delayed_work (struct delayed_work *work,unsigned long delay));extern int schedule_delayed_work_on (int cpu,struct delayed_work *work,unsigned long delay);
kernel/workqueue.c renamed from kernel/workqueue.c~1_del_rsw +0 -73
79 lines not on this page · raw message