cpufreq: ondemand: Drop unused callback from struct od_ops
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 16 Feb 2016 20:02:32 +0000 (21:02 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 9 Mar 2016 13:41:06 +0000 (14:41 +0100)
The ->freq_increase callback in struct od_ops is never invoked,
so drop it.

No functional changes.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/cpufreq_governor.h
drivers/cpufreq/cpufreq_ondemand.c

index 7ae0c71..675e1cd 100644 (file)
@@ -220,7 +220,6 @@ struct od_ops {
        void (*powersave_bias_init_cpu)(int cpu);
        unsigned int (*powersave_bias_target)(struct cpufreq_policy *policy,
                        unsigned int freq_next, unsigned int relation);
-       void (*freq_increase)(struct cpufreq_policy *policy, unsigned int freq);
 };
 
 extern struct mutex dbs_data_mutex;
index 34e3a1b..375fdcf 100644 (file)
@@ -417,7 +417,6 @@ define_get_cpu_dbs_routines(od_cpu_dbs_info);
 static struct od_ops od_ops = {
        .powersave_bias_init_cpu = ondemand_powersave_bias_init_cpu,
        .powersave_bias_target = generic_powersave_bias_target,
-       .freq_increase = dbs_freq_increase,
 };
 
 static struct dbs_governor od_dbs_gov = {