workqueue: remove in_workqueue_context()
commitdaaae6b010ac0f60c9c35e481589966f9f1fcc22
authorTejun Heo <tj@kernel.org>
Tue, 19 Oct 2010 09:28:15 +0000 (19 11:28 +0200)
committerTejun Heo <tj@kernel.org>
Tue, 19 Oct 2010 09:28:15 +0000 (19 11:28 +0200)
tree94f4f463d898af0ad1926b8d21c15db94a0a411a
parent31ddd871fc3db73e2024cb3eb3ee5051edf5a80f
workqueue: remove in_workqueue_context()

Commit a25909a4 (lockdep: Add an in_workqueue_context() lockdep-based
test function) added in_workqueue_context() but there hasn't been any
in-kernel user and the lockdep annotation in workqueue is scheduled to
change.  Remove the unused function.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/linux/workqueue.h
kernel/workqueue.c