Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 67d0b2a8 authored by Eduardo Valentin's avatar Eduardo Valentin Committed by Zhang Rui
Browse files

thermal: cpu_cooling: remove unused symbols



The list is not needed so far. Thus removing it.

Signed-off-by: default avatarEduardo Valentin <eduardo.valentin@ti.com>
Acked-by: default avatarAmit Daniel Kachhap <amit.daniel@samsung.com>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent 2d9bf71c
Loading
Loading
Loading
Loading
+1 −5
Original line number Original line Diff line number Diff line
@@ -39,11 +39,9 @@
 * @cpufreq_val: integer value representing the absolute value of the clipped
 * @cpufreq_val: integer value representing the absolute value of the clipped
 *	frequency.
 *	frequency.
 * @allowed_cpus: all the cpus involved for this cpufreq_cooling_device.
 * @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
 * This structure is required for keeping information of each
 * cpufreq_cooling_device registered as a list whose head is represented by
 * cpufreq_cooling_device registered. In order to prevent corruption of this a
 * cooling_cpufreq_list. In order to prevent corruption of this list a
 * mutex lock cooling_cpufreq_lock is used.
 * mutex lock cooling_cpufreq_lock is used.
 */
 */
struct cpufreq_cooling_device {
struct cpufreq_cooling_device {
@@ -52,9 +50,7 @@ struct cpufreq_cooling_device {
	unsigned int cpufreq_state;
	unsigned int cpufreq_state;
	unsigned int cpufreq_val;
	unsigned int cpufreq_val;
	struct cpumask allowed_cpus;
	struct cpumask allowed_cpus;
	struct list_head node;
};
};
static LIST_HEAD(cooling_cpufreq_list);
static DEFINE_IDR(cpufreq_idr);
static DEFINE_IDR(cpufreq_idr);
static DEFINE_MUTEX(cooling_cpufreq_lock);
static DEFINE_MUTEX(cooling_cpufreq_lock);