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


Groups > linux.kernel > #1402920

[PATCH 4/6] cpufreq: conservative: Remove declaration of cs_dbs_gov

From Viresh Kumar <viresh.kumar@linaro.org>
Newsgroups linux.kernel
Subject [PATCH 4/6] cpufreq: conservative: Remove declaration of cs_dbs_gov
Date 2016-05-18 14:30 +0200
Message-ID <rA8LT-25R-11@gated-at.bofh.it> (permalink)
References <rA8LT-25R-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The code doesn't use 'cs_dbs_gov' anymore before it is defined and the
extra line for declaring it can be removed.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
 drivers/cpufreq/cpufreq_conservative.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/cpufreq/cpufreq_conservative.c b/drivers/cpufreq/cpufreq_conservative.c
index 5a15f649602c..904839171d94 100644
--- a/drivers/cpufreq/cpufreq_conservative.c
+++ b/drivers/cpufreq/cpufreq_conservative.c
@@ -127,8 +127,6 @@ static struct notifier_block cs_cpufreq_notifier_block = {
 };
 
 /************************** sysfs interface ************************/
-static struct dbs_governor cs_dbs_gov;
-
 static ssize_t store_sampling_down_factor(struct gov_attr_set *attr_set,
 					  const char *buf, size_t count)
 {
-- 
2.7.1.410.g6faf27b

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 4/6] cpufreq: conservative: Remove declaration of cs_dbs_gov Viresh Kumar <viresh.kumar@linaro.org> - 2016-05-18 14:30 +0200
  Re: [PATCH 4/6] cpufreq: conservative: Remove declaration of cs_dbs_gov "Rafael J. Wysocki" <rafael@kernel.org> - 2016-05-18 23:10 +0200
    Re: [PATCH 4/6] cpufreq: conservative: Remove declaration of  cs_dbs_gov Viresh Kumar <viresh.kumar@linaro.org> - 2016-05-19 04:20 +0200

csiph-web