diff options
-rw-r--r-- | drivers/cpufreq/intel_pstate.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c index 0ddc0d045831..bf6af77cd945 100644 --- a/drivers/cpufreq/intel_pstate.c +++ b/drivers/cpufreq/intel_pstate.c | |||
@@ -1926,13 +1926,6 @@ static int intel_pstate_init_cpu(unsigned int cpunum) | |||
1926 | return 0; | 1926 | return 0; |
1927 | } | 1927 | } |
1928 | 1928 | ||
1929 | static unsigned int intel_pstate_get(unsigned int cpu_num) | ||
1930 | { | ||
1931 | struct cpudata *cpu = all_cpu_data[cpu_num]; | ||
1932 | |||
1933 | return cpu ? get_avg_frequency(cpu) : 0; | ||
1934 | } | ||
1935 | |||
1936 | static void intel_pstate_set_update_util_hook(unsigned int cpu_num) | 1929 | static void intel_pstate_set_update_util_hook(unsigned int cpu_num) |
1937 | { | 1930 | { |
1938 | struct cpudata *cpu = all_cpu_data[cpu_num]; | 1931 | struct cpudata *cpu = all_cpu_data[cpu_num]; |
@@ -2173,7 +2166,6 @@ static struct cpufreq_driver intel_pstate = { | |||
2173 | .setpolicy = intel_pstate_set_policy, | 2166 | .setpolicy = intel_pstate_set_policy, |
2174 | .suspend = intel_pstate_hwp_save_state, | 2167 | .suspend = intel_pstate_hwp_save_state, |
2175 | .resume = intel_pstate_resume, | 2168 | .resume = intel_pstate_resume, |
2176 | .get = intel_pstate_get, | ||
2177 | .init = intel_pstate_cpu_init, | 2169 | .init = intel_pstate_cpu_init, |
2178 | .exit = intel_pstate_cpu_exit, | 2170 | .exit = intel_pstate_cpu_exit, |
2179 | .stop_cpu = intel_pstate_stop_cpu, | 2171 | .stop_cpu = intel_pstate_stop_cpu, |