Thread (2 messages) 2 messages, 2 authors, 2012-12-28

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

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2012-12-22 20:21:58
Also in: lkml

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
tested.
Looks fine to me, feel free to route through your tree -- nobody changes
rfkill much (famous last words...) :-)

johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help