cpufreq: intel_pstate: clean remnant struct element
authorCarsten Emde <C.Emde@osadl.org>
Mon, 18 Jul 2016 23:19:15 +0000 (01:19 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 21 Jul 2016 12:26:00 +0000 (14:26 +0200)
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>
drivers/cpufreq/intel_pstate.c

index 25bfdec4e74ee15fae69fa12f831509513f9d996..edb3b6981b73cf748cf5d2f14d472469ae9e5f04 100644 (file)
@@ -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;
 };