diff options
| author | Jinseok Kim <always.starving0@gmail.com> | 2026-07-06 23:38:53 +0900 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-07-22 21:51:44 +0200 |
| commit | c7aa1af7b327bb9af163fbd7b83ade6ac07845fd (patch) | |
| tree | 93c540dcce4f1caca55528b92ab62c00cfcc1c4a /tools/perf/scripts/python/stackcollapse.py | |
| parent | 1590cf0329716306e948a8fc29f1d3ee87d3989f (diff) | |
selftests/cpufreq: Remove unused local variables from switch_show_governor()
switch_show_governor() assigns the current governor and frequency
to local variables before switching governors.
However, these variables are never referenced afterwards. The function
does not restore the previous governor or use the saved frequency, as
backup_governor() and restore_governor() already handle state preservation
elsewhere.
Signed-off-by: Jinseok Kim <always.starving0@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Link: https://patch.msgid.link/20260706143857.3306-1-always.starving0@gmail.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
