diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-12-27 00:23:48 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-01-01 03:49:51 +0100 |
commit | 41669da03060c5e55e9d3061ddede624f01d7262 (patch) | |
tree | a9bad764021e1d9cbe8b5e24fbb1951cfc2d335c /include/linux/cpufreq.h | |
parent | d23f8cadf99b553eaa78544c53e96f3aec456530 (diff) | |
download | talos-obmc-linux-41669da03060c5e55e9d3061ddede624f01d7262.tar.gz talos-obmc-linux-41669da03060c5e55e9d3061ddede624f01d7262.zip |
cpufreq: Make cpufreq_boost_supported() static
cpufreq_boost_supported() is not used outside of cpufreq.c, so make
it static.
While at it, refactor it as a one-liner (which it really is).
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'include/linux/cpufreq.h')
-rw-r--r-- | include/linux/cpufreq.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index 177c7680c1a8..f859b728d98e 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h @@ -574,7 +574,6 @@ ssize_t cpufreq_show_cpus(const struct cpumask *mask, char *buf); #ifdef CONFIG_CPU_FREQ int cpufreq_boost_trigger_state(int state); -int cpufreq_boost_supported(void); int cpufreq_boost_enabled(void); int cpufreq_enable_boost_support(void); bool policy_has_boost_freq(struct cpufreq_policy *policy); @@ -583,10 +582,6 @@ static inline int cpufreq_boost_trigger_state(int state) { return 0; } -static inline int cpufreq_boost_supported(void) -{ - return 0; -} static inline int cpufreq_boost_enabled(void) { return 0; |