Commit 8eb055d3 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki

cpufreq: ondemand: Drop unused callback from struct od_ops

The ->freq_increase callback in struct od_ops is never invoked,
so drop it.

No functional changes.
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent a7f35cff
...@@ -220,7 +220,6 @@ struct od_ops { ...@@ -220,7 +220,6 @@ struct od_ops {
void (*powersave_bias_init_cpu)(int cpu); void (*powersave_bias_init_cpu)(int cpu);
unsigned int (*powersave_bias_target)(struct cpufreq_policy *policy, unsigned int (*powersave_bias_target)(struct cpufreq_policy *policy,
unsigned int freq_next, unsigned int relation); unsigned int freq_next, unsigned int relation);
void (*freq_increase)(struct cpufreq_policy *policy, unsigned int freq);
}; };
extern struct mutex dbs_data_mutex; extern struct mutex dbs_data_mutex;
......
...@@ -417,7 +417,6 @@ define_get_cpu_dbs_routines(od_cpu_dbs_info); ...@@ -417,7 +417,6 @@ define_get_cpu_dbs_routines(od_cpu_dbs_info);
static struct od_ops od_ops = { static struct od_ops od_ops = {
.powersave_bias_init_cpu = ondemand_powersave_bias_init_cpu, .powersave_bias_init_cpu = ondemand_powersave_bias_init_cpu,
.powersave_bias_target = generic_powersave_bias_target, .powersave_bias_target = generic_powersave_bias_target,
.freq_increase = dbs_freq_increase,
}; };
static struct dbs_governor od_dbs_gov = { static struct dbs_governor od_dbs_gov = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment