summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorCarsten Emde <C.Emde@osadl.org>2016-07-19 01:19:15 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-07-21 14:26:00 +0200
commit2630abc243f8d014767c4eec1deb946bdbbcfc81 (patch)
tree8d6a5c4c3f20f2c34b909d8404140a80d9b0739a /drivers
parent09ca4c9b5958403bf05482b365a67d88f10463e4 (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')
-rw-r--r--drivers/cpufreq/intel_pstate.c2
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)
* read from MPERF MSR between last and current sample
* @tsc: Difference of time stamp counter between last and
* current sample
- * @freq: Effective frequency calculated from APERF/MPERF
* @time: Current time from scheduler
*
* This structure is used in the cpudata structure to store performance sample
@@ -109,7 +108,6 @@ struct sample {
u64 aperf;
u64 mperf;
u64 tsc;
- int freq;
u64 time;
};