aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2010-12-12 16:45:14 +0100
committerTejun Heo <[email protected]>2010-12-12 16:45:14 +0100
commit23f333a2bfafba80339315b724808982a9de57d9 (patch)
tree55819e6a8eeb9c2d34b42c77e7e38f7f6571baf9 /tools/perf/scripts/python
parent6e07ebd84eef00be9e169a6d15a0bc20b06578fa (diff)
drivers/net: don't use flush_scheduled_work()
flush_scheduled_work() is on its way out. This patch contains simple conversions to replace flush_scheduled_work() usage with direct cancels and flushes. Directly cancel the used works on driver detach and flush them in other cases. The conversions are mostly straight forward and the only dangers are, * Forgetting to cancel/flush one or more used works. * Cancelling when a work should be flushed (ie. the work must be executed once scheduled whether the driver is detaching or not). I've gone over the changes multiple times but it would be much appreciated if you can review with the above points in mind. Signed-off-by: Tejun Heo <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Jay Cliburn <[email protected]> Cc: Michael Chan <[email protected]> Cc: Divy Le Ray <[email protected]> Cc: [email protected] Cc: Vasanthy Kolluri <[email protected]> Cc: Samuel Ortiz <[email protected]> Cc: Lennert Buytenhek <[email protected]> Cc: Andrew Gallatin <[email protected]> Cc: Francois Romieu <[email protected]> Cc: Ramkrishna Vepa <[email protected]> Cc: Matt Carlson <[email protected]> Cc: David Brownell <[email protected]> Cc: Shreyas Bhatewara <[email protected]> Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions