Skip to content

Commit 4615ac9

Browse files
Jiri Slaby (SUSE)rafaeljw
authored andcommitted
cpufreq: intel_pstate: remove cpudata::prev_cummulative_iowait
Commit 09c448d ("cpufreq: intel_pstate: Use IOWAIT flag in Atom algorithm") removed the last user of cpudata::prev_cummulative_iowait. Remove the member too. Found by https://github.com/jirislaby/clang-struct. Signed-off-by: Jiri Slaby (SUSE) <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent e13aa79 commit 4615ac9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/cpufreq/intel_pstate.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,6 @@ struct global_params {
201201
* @prev_aperf: Last APERF value read from APERF MSR
202202
* @prev_mperf: Last MPERF value read from MPERF MSR
203203
* @prev_tsc: Last timestamp counter (TSC) value
204-
* @prev_cummulative_iowait: IO Wait time difference from last and
205-
* current sample
206204
* @sample: Storage for storing last Sample data
207205
* @min_perf_ratio: Minimum capacity in terms of PERF or HWP ratios
208206
* @max_perf_ratio: Maximum capacity in terms of PERF or HWP ratios
@@ -241,7 +239,6 @@ struct cpudata {
241239
u64 prev_aperf;
242240
u64 prev_mperf;
243241
u64 prev_tsc;
244-
u64 prev_cummulative_iowait;
245242
struct sample sample;
246243
int32_t min_perf_ratio;
247244
int32_t max_perf_ratio;

0 commit comments

Comments
 (0)