aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorMartin Kaiser <[email protected]>2022-01-15 17:55:31 +0100
committerGreg Kroah-Hartman <[email protected]>2022-01-25 16:27:23 +0100
commit2bd4aa6acb115d6fd9225401e3cf38852f6ec7de (patch)
tree9084101b28883699aec7cb47c36fe5841f285205 /tools/perf/scripts/python/flamegraph.py
parent9224cda4afc4e3700125a9eb883f4827fe15fe66 (diff)
staging: r8188eu: remove _cancel_timer wrapper
Remove the _cancel_timer wrapper function and call del_timer_sync directly. None of the callers needs the bcancelled variable that's populated by _cancel_timer, these variables can be removed in the calling functions. rtw_surveydone_event_callback calls _cancel_timer only if it believes that the timer is currently running. We can drop this. It's safe to call del_timer_sync when the timer is not running. The timer in question, scan_to_timer, is used only for the site survey command (the rtw_survey functions) so we won't be stopping it while it's in use by someone else. Signed-off-by: Martin Kaiser <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions