OSDN Git Service

tools/thermal: tmon: fix for segfault
[sagit-ice-cold/kernel_xiaomi_msm8998.git] / tools / thermal / tmon / tmon.c
index 9aa1965..b43138f 100644 (file)
@@ -336,7 +336,6 @@ int main(int argc, char **argv)
                        show_data_w();
                        show_cooling_device();
                }
-               cur_thermal_record++;
                time_elapsed += ticktime;
                controller_handler(trec[0].temp[target_tz_index] / 1000,
                                &yk);