From 9982cd9fee0903300e2323bc196a5262f4e5b969 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Wed, 7 Feb 2018 11:09:41 +0100 Subject: [PATCH 1/1] Remove semicolon (No, Sonar, it's not commented code). --- src/surf/plugins/host_dvfs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/surf/plugins/host_dvfs.cpp b/src/surf/plugins/host_dvfs.cpp index d74cc16caa..251f05ff0d 100644 --- a/src/surf/plugins/host_dvfs.cpp +++ b/src/surf/plugins/host_dvfs.cpp @@ -86,10 +86,10 @@ public: } else { /* The actual implementation uses a formula here: (See Kernel file cpufreq_ondemand.c:158) * - * freq_next = min_f + load * (max_f - min_f) / 100; + * freq_next = min_f + load * (max_f - min_f) / 100 * * So they assume that frequency increases by 100 MHz. We will just use - * lowest_pstate - load*pstatesCount(); + * lowest_pstate - load*pstatesCount() */ int max_pstate = host->getPstatesCount() - 1; -- 2.20.1