diff options
author | Tejun Heo <[email protected]> | 2014-03-07 10:24:47 -0500 |
---|---|---|
committer | Tejun Heo <[email protected]> | 2014-03-07 10:24:47 -0500 |
commit | d82fead4639ab657d70f71b2bfefcd387a7c2a4c (patch) | |
tree | ed96fbcfb8a14d319348234aea315cbf03f04f89 /tools/perf/util/trace-event-scripting.c | |
parent | 5078585a18c8cb7d1b6b7744fce842dadb3b7c72 (diff) |
wireless/rt2x00: don't use PREPARE_WORK in rt2800usb.c
PREPARE_[DELAYED_]WORK() are being phased out. They have few users
and a nasty surprise in terms of reentrancy guarantee as workqueue
considers work items to be different if they don't have the same work
function.
Update rt2800usb.c to use INIT_WORK() instead of PREPARE_WORK(). As
the work item isn't in active use during rt2800usb_probe_hw(), this
doesn't cause any behavior difference.
It would probably be best to route this with other related updates
through the workqueue tree.
Only compile tested.
Signed-off-by: Tejun Heo <[email protected]>
Cc: Ivo van Doorn <[email protected]>
Cc: Gertjan van Wingerde <[email protected]>
Cc: Helmut Schaa <[email protected]>
Cc: [email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions