diff options
author | Carsten Emde <C.Emde@osadl.org> | 2016-07-18 19:19:15 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-07-21 08:26:00 -0400 |
commit | 2630abc243f8d014767c4eec1deb946bdbbcfc81 (patch) | |
tree | 8d6a5c4c3f20f2c34b909d8404140a80d9b0739a /drivers/cpufreq/intel_pstate.c | |
parent | 09ca4c9b5958403bf05482b365a67d88f10463e4 (diff) |
cpufreq: intel_pstate: clean remnant struct element
When I was working with the Intel P state driver I came across a
remnant struct element that is no longer needed after the function
intel_pstate_calc_freq() was retired.
Signed-off-by: Carsten Emde <C.Emde@osadl.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/intel_pstate.c')
-rw-r--r-- | drivers/cpufreq/intel_pstate.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c index 25bfdec4e74e..edb3b6981b73 100644 --- a/drivers/cpufreq/intel_pstate.c +++ b/drivers/cpufreq/intel_pstate.c | |||
@@ -97,7 +97,6 @@ static inline u64 div_ext_fp(u64 x, u64 y) | |||
97 | * read from MPERF MSR between last and current sample | 97 | * read from MPERF MSR between last and current sample |
98 | * @tsc: Difference of time stamp counter between last and | 98 | * @tsc: Difference of time stamp counter between last and |
99 | * current sample | 99 | * current sample |
100 | * @freq: Effective frequency calculated from APERF/MPERF | ||
101 | * @time: Current time from scheduler | 100 | * @time: Current time from scheduler |
102 | * | 101 | * |
103 | * This structure is used in the cpudata structure to store performance sample | 102 | * This structure is used in the cpudata structure to store performance sample |
@@ -109,7 +108,6 @@ struct sample { | |||
109 | u64 aperf; | 108 | u64 aperf; |
110 | u64 mperf; | 109 | u64 mperf; |
111 | u64 tsc; | 110 | u64 tsc; |
112 | int freq; | ||
113 | u64 time; | 111 | u64 time; |
114 | }; | 112 | }; |
115 | 113 | ||