aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2010-10-19 05:28:15 -0400
committerTejun Heo <tj@kernel.org>2010-10-19 05:28:15 -0400
commitdaaae6b010ac0f60c9c35e481589966f9f1fcc22 (patch)
tree94f4f463d898af0ad1926b8d21c15db94a0a411a /include/linux/workqueue.h
parent31ddd871fc3db73e2024cb3eb3ee5051edf5a80f (diff)
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>
Diffstat (limited to 'include/linux/workqueue.h')
-rw-r--r--include/linux/workqueue.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h
index 03bbe903e5ce..070bb7a88936 100644
--- a/include/linux/workqueue.h
+++ b/include/linux/workqueue.h
@@ -430,8 +430,4 @@ extern bool freeze_workqueues_busy(void);
430extern void thaw_workqueues(void); 430extern void thaw_workqueues(void);
431#endif /* CONFIG_FREEZER */ 431#endif /* CONFIG_FREEZER */
432 432
433#ifdef CONFIG_LOCKDEP
434int in_workqueue_context(struct workqueue_struct *wq);
435#endif
436
437#endif 433#endif