diff options
author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2014-05-22 16:43:56 +0800 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-05-22 11:35:51 -0400 |
commit | cafebac153ae54fd0aba5d4ad28af995532c5375 (patch) | |
tree | cb29562c09e982807f82f4e5c421f0f776db148b /include/linux/workqueue.h | |
parent | 79bc251f0e0aea67bc230c530f7fa57f66f9cdf3 (diff) | |
download | linux-cafebac153ae54fd0aba5d4ad28af995532c5375.tar.gz linux-cafebac153ae54fd0aba5d4ad28af995532c5375.tar.bz2 linux-cafebac153ae54fd0aba5d4ad28af995532c5375.zip |
workqueue: remove unused work_clear_pending()
In 8930caba3dbd ("workqueue: disable irq while manipulating PENDING"),
setting last CPU and clearing PENDING got merged into a single
operation (set_work_cpu_and_clear_pending()), which resulted that the
internal routine work_clear_pending() is not used any more.
tj: Minor description tweak.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/workqueue.h')
-rw-r--r-- | include/linux/workqueue.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index b8aee9453f22..a0cc2e95ed1b 100644 --- a/include/linux/workqueue.h +++ b/include/linux/workqueue.h @@ -273,13 +273,6 @@ static inline unsigned int work_static(struct work_struct *work) { return 0; } #define delayed_work_pending(w) \ work_pending(&(w)->work) -/** - * work_clear_pending - for internal use only, mark a work item as not pending - * @work: The work item in question - */ -#define work_clear_pending(work) \ - clear_bit(WORK_STRUCT_PENDING_BIT, work_data_bits(work)) - /* * Workqueue flags and constants. For details, please refer to * Documentation/workqueue.txt. |