diff options
author | Adrian Lane <adrian.lane@canonical.com> | 2020-12-15 21:08:45 -0800 |
---|---|---|
committer | Adrian Lane <adrian.lane@canonical.com> | 2020-12-15 21:08:45 -0800 |
commit | 3603cb74218e71fdb8bc4d8868592e7e75b0dd77 (patch) | |
tree | f284fc7da58b9dc86257214ae509a3b66765e51c | |
parent | 0b9b869e9d8e18cf76ef4dcb4e0a3c8afe4a032c (diff) |
Removed unnecessary logic with startup governor reset.
-rwxr-xr-x | bin/cpufreq_test.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/bin/cpufreq_test.py b/bin/cpufreq_test.py index e58500f..c6d33f8 100755 --- a/bin/cpufreq_test.py +++ b/bin/cpufreq_test.py @@ -313,13 +313,6 @@ class CpuFreqTest: path_min, self.startup_min_freq) logging.info('* restoring startup governor:') - # in case test ends prematurely from prior run - # and facilitate reset() called from args - if 'userspace' in self.startup_governor: - # may need to validate these assumptions - self.startup_governor = 'ondemand' - elif 'performance' in self.startup_governor: - self.startup_governor = 'powersave' self.set_governors(self.startup_governor) # enable offline cores |