Re: [PATCH 08/25] thinkpad_acpi: don't use [delayed_]work_pending()

2012-12-28 Thread Tejun Heo
On Sat, Dec 22, 2012 at 09:55:04PM -0200, Henrique de Moraes Holschuh wrote: > On Fri, 21 Dec 2012, 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 08/25] thinkpad_acpi: don't use [delayed_]work_pending()

2012-12-22 Thread Henrique de Moraes Holschuh
On Fri, 21 Dec 2012, 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 thinkpad_acpi. Only compile > tested. >