From: "hongbo.zhang" <hongbo.zh...@linaro.com>

Signed-off-by: hongbo.zhang <hongbo.zh...@linaro.com>
---
 drivers/thermal/cpu_cooling.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c
index c40d9a0..a8aa10f 100644
--- a/drivers/thermal/cpu_cooling.c
+++ b/drivers/thermal/cpu_cooling.c
@@ -399,8 +399,7 @@ struct thermal_cooling_device *cpufreq_cooling_register(
        /*Verify that all the entries of freq_clip_table are present*/
        for (i = 0; i < tab_size; i++) {
                clip_tab = ((struct freq_clip_table *)&tab_ptr[i]);
-               if (!clip_tab->freq_clip_max || !clip_tab->mask_val
-                                       || !clip_tab->temp_level) {
+               if (!clip_tab->freq_clip_max || !clip_tab->mask_val) {
                        kfree(cpufreq_dev);
                        return ERR_PTR(-EINVAL);
                }
-- 
1.7.10


_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to