diff options
author | Liao Chang <[email protected]> | 2023-09-12 06:09:42 +0000 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2023-10-06 21:55:13 +0200 |
commit | 842c34a2668f68ebe15d0fc9dc19d33733bb428d (patch) | |
tree | 04d971ddea9b1cb959781ea40306350c7af7c23f /tools/perf/util/trace-event-scripting.c | |
parent | 16a03c71bba012b4cc31f34e00007c34ef5a58df (diff) |
cpufreq: conservative: Simplify the condition of storing 'down_threshold'
The governor currently checks if the input new down_threshold is less
than 100 before storing it, but the up_threshold field of dbs_data
structure is also limited to be less than 100, so this check is
unnecessary and remove it.
Signed-off-by: Liao Chang <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions