From: Arnaud Giersch Date: Fri, 10 Aug 2018 09:46:59 +0000 (+0200) Subject: Dead store. X-Git-Tag: v3_21~260^2~9 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/ff972bfda2d351509817bfda4e59de1cac9188cc Dead store. --- diff --git a/src/plugins/host_dvfs.cpp b/src/plugins/host_dvfs.cpp index 4cb1f04cf1..dbcc5afacd 100644 --- a/src/plugins/host_dvfs.cpp +++ b/src/plugins/host_dvfs.cpp @@ -331,7 +331,6 @@ public: for (int i = 1; i < get_host()->get_pstate_count(); i++) { rates[task_id][i] = rates[task_id][0] * (get_host()->get_pstate_speed(i) / get_host()->get_speed()); } - is_initialized = true; } for (int pstate = get_host()->get_pstate_count() - 1; pstate >= 0; pstate--) {