OSDN Git Service

thermal: cpu_cooling: no need to initialze 'ret'
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 4 Dec 2014 04:11:53 +0000 (09:41 +0530)
committerEduardo Valentin <edubezval@gmail.com>
Mon, 8 Dec 2014 16:08:56 +0000 (12:08 -0400)
commit8e54d442fe3cdd1ffe5f563ee843b4d48e14ef6e
tree73114b05157102e949eb571bbc5f080ce533140d
parent5d3bdb8998e066fe270f2f71db7163d5ac40d989
thermal: cpu_cooling: no need to initialze 'ret'

ret is initialized before it is used, so no need to set it to 0 in its declaration.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/cpu_cooling.c