Re: [PATCH 14/25] rfkill: don't use [delayed_]work_pending()

2012-12-28 Thread Tejun Heo
On Sat, Dec 22, 2012 at 09:22:13PM +0100, Johannes Berg wrote: > On Fri, 2012-12-21 at 17:57 -0800, Tejun Heo wrote: > > 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.

Re: [PATCH 14/25] rfkill: don't use [delayed_]work_pending()

2012-12-22 Thread Johannes Berg
On Fri, 2012-12-21 at 17:57 -0800, Tejun Heo wrote: > 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 > tes