Skip to content
Commit d4283e93 authored by Tejun Heo's avatar Tejun Heo
Browse files

workqueue: make queueing functions return bool



All queueing functions return 1 on success, 0 if the work item was
already pending.  Update them to return bool instead.  This signifies
better that they don't return 0 / -errno.

This is cleanup and doesn't cause any functional difference.

While at it, fix comment opening for schedule_work_on().

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 0a13c00e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment