summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/ppc_cbe_cpufreq_pmi.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2017-01-05 09:04:31 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-02-04 02:05:30 +0300
commit052f573f5cca0ce0a16de409012660565bd792df (patch)
tree379f072243a141e8b44d80dd0ddca26d4b27bb9c /drivers/cpufreq/ppc_cbe_cpufreq_pmi.c
parentfa29ae5f221860e22a7346d89ae38a28ed104045 (diff)
downloadlinux-052f573f5cca0ce0a16de409012660565bd792df.tar.xz
cpufreq: Remove CPUFREQ_START notifier event
Its not used anymore, remove it. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/ppc_cbe_cpufreq_pmi.c')
-rw-r--r--drivers/cpufreq/ppc_cbe_cpufreq_pmi.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/cpufreq/ppc_cbe_cpufreq_pmi.c b/drivers/cpufreq/ppc_cbe_cpufreq_pmi.c
index dc112481a408..eeaa92251512 100644
--- a/drivers/cpufreq/ppc_cbe_cpufreq_pmi.c
+++ b/drivers/cpufreq/ppc_cbe_cpufreq_pmi.c
@@ -100,9 +100,6 @@ static int pmi_notifier(struct notifier_block *nb,
/* Should this really be called for CPUFREQ_ADJUST and CPUFREQ_NOTIFY
* policy events?)
*/
- if (event == CPUFREQ_START)
- return 0;
-
node = cbe_cpu_to_node(policy->cpu);
pr_debug("got notified, event=%lu, node=%u\n", event, node);