wl1251: don't use [delayed_]work_pending()
authorTejun Heo <tj@kernel.org>
Sat, 22 Dec 2012 01:56:59 +0000 (17:56 -0800)
committerTejun Heo <tj@kernel.org>
Fri, 28 Dec 2012 21:40:15 +0000 (13:40 -0800)
commit02957f92bcc96be5c84a4000f9d22c592158602e
treee0b0f96839d8c29651cda282d421c3b2f016f392
parent6d394e192541a106bf78f361e2c4e586a8344e3e
wl1251: 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 wl1251.  Only compile tested.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Luciano Coelho <coelho@ti.com>
Cc: linux-wireless@vger.kernel.org
drivers/net/wireless/ti/wl1251/ps.c