Skip to contentSkip to conversation

workqueue: kill run_scheduled_work()

PATCH In review Oleg Nesterov 1 participant 1 message Feb 6, 2007 Workqueue

lore
Share & tools
lore
#0 lore raw

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.

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