workqueue: kill run_scheduled_work()
authorOleg Nesterov <oleg@tv-sign.ru>
Wed, 9 May 2007 09:34:10 +0000 (02:34 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 May 2007 19:30:52 +0000 (12:30 -0700)
commit7097a87afe937a5879528d52880c2d95f089e96c
treef06090c0f6ed327ee2894deb8ac7c588ab55bf4e
parent3af24433efac62f451bfdb1cf1edb7181fb73645
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 <oleg@tv-sign.ru>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/workqueue.h
kernel/workqueue.c