From: Viresh Kumar Date: Thu, 4 Dec 2014 04:11:57 +0000 (+0530) Subject: thermal: cpu_cooling: Don't check is_cpufreq_valid() X-Git-Tag: fixes-v4.0-rc1~365^2^2~1^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9ca319f0579cd51b07a666683157233c2cf720d;p=pandora-kernel.git thermal: cpu_cooling: Don't check is_cpufreq_valid() Because get_cpu_frequency() has returned a valid frequency, it means that the cpufreq policy is surely valid and so no point checking that again with is_cpufreq_valid(). Get rid of the routine as well as there are no more users. Signed-off-by: Viresh Kumar Signed-off-by: Eduardo Valentin --- Reading git-diff-tree failed