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 7ae0c71143fa2f5a43ebee81da5be90780df21c3..675e1cdbb46c028224dafcd989b6472833d22e13 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 34e3a1be9971cca18203597cab02da188762c0f2..375fdcfbc02ed94e4df2d9288ec9b840a51798dc 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 = {