diff mbox

[V2,11/26] thermal: cpu_cooling: no need to initialze 'ret'

Message ID 484221f147f77526116e0d5b3c1f04679515bc7a.1417664938.git.viresh.kumar@linaro.org
State Accepted
Commit 8e54d442fe3cdd1ffe5f563ee843b4d48e14ef6e
Headers show

Commit Message

Viresh Kumar Dec. 4, 2014, 4:11 a.m. UTC
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
 drivers/thermal/cpu_cooling.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c
index c144493..d57b8bb 100644
--- a/drivers/thermal/cpu_cooling.c
+++ b/drivers/thermal/cpu_cooling.c
@@ -454,7 +454,7 @@  __cpufreq_cooling_register(struct device_node *np,
 	struct cpufreq_cooling_device *cpufreq_dev;
 	unsigned int min = 0, max = 0;
 	char dev_name[THERMAL_NAME_LENGTH];
-	int ret = 0, i;
+	int ret, i;
 	struct cpufreq_policy policy;
 
 	if (!cpufreq_frequency_get_table(cpumask_first(clip_cpus))) {