summaryrefslogtreecommitdiff
path: root/include/linux/cpufreq.h
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2025-01-23 14:26:20 +0530
committerViresh Kumar <viresh.kumar@linaro.org>2025-02-07 09:45:16 +0530
commit0322f3e89b4eb32702321687a7636ee5290fe255 (patch)
treed8ba06d53da8dd4783866c5dd275b8fe5f06830b /include/linux/cpufreq.h
parentc952775a3d72b0505c2f8f4171929c293479f0fd (diff)
downloadlwn-0322f3e89b4eb32702321687a7636ee5290fe255.tar.gz
lwn-0322f3e89b4eb32702321687a7636ee5290fe255.zip
cpufreq: Remove cpufreq_enable_boost_support()
Remove the now unused helper, cpufreq_enable_boost_support(). Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'include/linux/cpufreq.h')
-rw-r--r--include/linux/cpufreq.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h
index 466d186166da..cefd853abfd1 100644
--- a/include/linux/cpufreq.h
+++ b/include/linux/cpufreq.h
@@ -782,7 +782,6 @@ ssize_t cpufreq_show_cpus(const struct cpumask *mask, char *buf);
#ifdef CONFIG_CPU_FREQ
bool cpufreq_boost_enabled(void);
-int cpufreq_enable_boost_support(void);
int cpufreq_boost_set_sw(struct cpufreq_policy *policy, int state);
/* Find lowest freq at or above target in a table in ascending order */
@@ -1157,11 +1156,6 @@ static inline bool cpufreq_boost_enabled(void)
return false;
}
-static inline int cpufreq_enable_boost_support(void)
-{
- return -EINVAL;
-}
-
static inline int cpufreq_boost_set_sw(struct cpufreq_policy *policy, int state)
{
return -EOPNOTSUPP;