Skip to content
Commit ed1ac6e9 authored by Tejun Heo's avatar Tejun Heo Committed by Rafael J. Wysocki
Browse files

PM: don't use [delayed_]work_pending()



There's no need to test whether a (delayed) work item is pending
before queueing, flushing or cancelling it, so remove work_pending()
tests used in those cases.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent a4ca26a4
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