rfkill: don't use [delayed_]work_pending()
authorTejun Heo <tj@kernel.org>
Sat, 22 Dec 2012 01:57:04 +0000 (17:57 -0800)
committerTejun Heo <tj@kernel.org>
Fri, 28 Dec 2012 21:40:16 +0000 (13:40 -0800)
commitba0c96cd9a361693b0bae409510d614dc0e26d0f
treeb25ac2bece59445bd741a1ed4569756e878b3367
parent02957f92bcc96be5c84a4000f9d22c592158602e
rfkill: don't use [delayed_]work_pending()

There's no need to test whether a (delayed) work item in pending
before queueing, flushing or cancelling it.  Most uses are unnecessary
and quite a few of them are buggy.

Remove unnecessary pending tests from rfkill.  Only compile
tested.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Cc: "John W. Linville" <linville@tuxdriver.com>
Cc: linux-wireless@vger.kernel.org
net/rfkill/input.c
This page took 0.030026 seconds and 5 git commands to generate.