[PATCH] cpufreq: Intel P state driver: clean remnant struct element
From: Carsten Emde <hidden>
Date: 2016-07-18 23:20:19
Hi Srinivas, BTW: 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 <redacted> Index: linux-4.7.0-rc7+/drivers/cpufreq/intel_pstate.c ===================================================================
--- linux-4.7.0-rc7+.orig/drivers/cpufreq/intel_pstate.c
+++ linux-4.7.0-rc7+/drivers/cpufreq/intel_pstate.c@@ -96,7 +96,6 @@ static inline u64 div_ext_fp(u64 x, u64 * 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
@@ -108,7 +107,6 @@ struct sample { u64 aperf; u64 mperf; u64 tsc; - int freq; u64 time; };