Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1306566 > unrolled thread

[RFC PATCH 03/19] cpufreq: kill for_each_policy

Started byJuri Lelli <juri.lelli@arm.com>
First post2016-01-11 18:50 +0100
Last post2016-01-12 10:10 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [RFC PATCH 03/19] cpufreq: kill for_each_policy Juri Lelli <juri.lelli@arm.com> - 2016-01-11 18:50 +0100
    Re: [RFC PATCH 03/19] cpufreq: kill for_each_policy Viresh Kumar <viresh.kumar@linaro.org> - 2016-01-12 10:10 +0100

#1306566 — [RFC PATCH 03/19] cpufreq: kill for_each_policy

FromJuri Lelli <juri.lelli@arm.com>
Date2016-01-11 18:50 +0100
Subject[RFC PATCH 03/19] cpufreq: kill for_each_policy
Message-ID<qPOLp-5E8-29@gated-at.bofh.it>
for_each_policy() macro is not used anywhere. Kill it.

Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Juri Lelli <juri.lelli@arm.com>
---
 drivers/cpufreq/cpufreq.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
index 0802705..2e41356 100644
--- a/drivers/cpufreq/cpufreq.c
+++ b/drivers/cpufreq/cpufreq.c
@@ -86,9 +86,6 @@ static struct cpufreq_policy *first_policy(bool active)
 #define for_each_inactive_policy(__policy)		\
 	for_each_suitable_policy(__policy, false)
 
-#define for_each_policy(__policy)			\
-	list_for_each_entry(__policy, &cpufreq_policy_list, policy_list)
-
 /* Iterate over governors */
 static LIST_HEAD(cpufreq_governor_list);
 #define for_each_governor(__governor)				\
-- 
2.2.2

[toc] | [next] | [standalone]


#1307127

FromViresh Kumar <viresh.kumar@linaro.org>
Date2016-01-12 10:10 +0100
Message-ID<qQ37I-7fJ-5@gated-at.bofh.it>
In reply to#1306566
On 11-01-16, 17:35, Juri Lelli wrote:
> for_each_policy() macro is not used anywhere. Kill it.
> 
> Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
> Cc: Viresh Kumar <viresh.kumar@linaro.org>
> Signed-off-by: Juri Lelli <juri.lelli@arm.com>
> ---
>  drivers/cpufreq/cpufreq.c | 3 ---
>  1 file changed, 3 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

-- 
viresh

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web