File tree Expand file tree Collapse file tree 2 files changed +0
-21
lines changed Expand file tree Collapse file tree 2 files changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -2877,21 +2877,6 @@ static void remove_boost_sysfs_file(void)
2877
2877
sysfs_remove_file (cpufreq_global_kobject , & boost .attr );
2878
2878
}
2879
2879
2880
- int cpufreq_enable_boost_support (void )
2881
- {
2882
- if (!cpufreq_driver )
2883
- return - EINVAL ;
2884
-
2885
- if (cpufreq_boost_supported ())
2886
- return 0 ;
2887
-
2888
- cpufreq_driver -> set_boost = cpufreq_boost_set_sw ;
2889
-
2890
- /* This will get removed on driver unregister */
2891
- return create_boost_sysfs_file ();
2892
- }
2893
- EXPORT_SYMBOL_GPL (cpufreq_enable_boost_support );
2894
-
2895
2880
bool cpufreq_boost_enabled (void )
2896
2881
{
2897
2882
return cpufreq_driver -> boost_enabled ;
Original file line number Diff line number Diff line change @@ -782,7 +782,6 @@ ssize_t cpufreq_show_cpus(const struct cpumask *mask, char *buf);
782
782
783
783
#ifdef CONFIG_CPU_FREQ
784
784
bool cpufreq_boost_enabled (void );
785
- int cpufreq_enable_boost_support (void );
786
785
int cpufreq_boost_set_sw (struct cpufreq_policy * policy , int state );
787
786
788
787
/* Find lowest freq at or above target in a table in ascending order */
@@ -1157,11 +1156,6 @@ static inline bool cpufreq_boost_enabled(void)
1157
1156
return false;
1158
1157
}
1159
1158
1160
- static inline int cpufreq_enable_boost_support (void )
1161
- {
1162
- return - EINVAL ;
1163
- }
1164
-
1165
1159
static inline int cpufreq_boost_set_sw (struct cpufreq_policy * policy , int state )
1166
1160
{
1167
1161
return - EOPNOTSUPP ;
You can’t perform that action at this time.
0 commit comments