diff options
author | Eduardo Valentin <eduardo.valentin@ti.com> | 2013-04-17 17:12:19 +0000 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-04-25 00:34:44 +0800 |
commit | 67d0b2a8267caa4e653714bec79013fa6b7dd508 (patch) | |
tree | 8e0bfc5c4413e1b12abba1c8e9cc745b36995be5 | |
parent | 2d9bf71c12be9caadd9a8276a78f3a3df8e9e852 (diff) |
thermal: cpu_cooling: remove unused symbols
The list is not needed so far. Thus removing it.
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Acked-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
-rw-r--r-- | drivers/thermal/cpu_cooling.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c index aa6875b272c..a294921be65 100644 --- a/drivers/thermal/cpu_cooling.c +++ b/drivers/thermal/cpu_cooling.c @@ -39,11 +39,9 @@ * @cpufreq_val: integer value representing the absolute value of the clipped * frequency. * @allowed_cpus: all the cpus involved for this cpufreq_cooling_device. - * @node: list_head to link all cpufreq_cooling_device together. * * This structure is required for keeping information of each - * cpufreq_cooling_device registered as a list whose head is represented by - * cooling_cpufreq_list. In order to prevent corruption of this list a + * cpufreq_cooling_device registered. In order to prevent corruption of this a * mutex lock cooling_cpufreq_lock is used. */ struct cpufreq_cooling_device { @@ -52,9 +50,7 @@ struct cpufreq_cooling_device { unsigned int cpufreq_state; unsigned int cpufreq_val; struct cpumask allowed_cpus; - struct list_head node; }; -static LIST_HEAD(cooling_cpufreq_list); static DEFINE_IDR(cpufreq_idr); static DEFINE_MUTEX(cooling_cpufreq_lock); |