PM / Domains: don't use [delayed_]work_pending()
authorTejun Heo <tj@kernel.org>
Fri, 11 Jan 2013 12:37:23 +0000 (13:37 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 25 Jan 2013 23:39:11 +0000 (00:39 +0100)
commita4ca26a43e39d521b3913f09faf82dfbbbca5f6a
tree419aea38aa5b06445f8b59e8c26b919a44634da9
parent949db153b6466c6f7cad5a427ecea94985927311
PM / Domains: 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: Tejun Heo <tj@kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/domain.c