mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 13:14:07 +08:00
cpufreq: Remove unused for_each_policy macro
Macro 'for_each_policy' has become unused since commit
f963735a3c
("cpufreq: Create for_each_{in}active_policy()"), so
remove it.
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
de5bcf404a
commit
60943bbdb4
@ -42,9 +42,6 @@ static LIST_HEAD(cpufreq_policy_list);
|
|||||||
#define for_each_inactive_policy(__policy) \
|
#define for_each_inactive_policy(__policy) \
|
||||||
for_each_suitable_policy(__policy, false)
|
for_each_suitable_policy(__policy, false)
|
||||||
|
|
||||||
#define for_each_policy(__policy) \
|
|
||||||
list_for_each_entry(__policy, &cpufreq_policy_list, policy_list)
|
|
||||||
|
|
||||||
/* Iterate over governors */
|
/* Iterate over governors */
|
||||||
static LIST_HEAD(cpufreq_governor_list);
|
static LIST_HEAD(cpufreq_governor_list);
|
||||||
#define for_each_governor(__governor) \
|
#define for_each_governor(__governor) \
|
||||||
|
Loading…
Reference in New Issue
Block a user