From d87c4f932575d0ff7281d164056838e211a97bac Mon Sep 17 00:00:00 2001 From: Christian Heinrich Date: Thu, 8 Feb 2018 11:07:30 +0100 Subject: [PATCH] [PLUGIN] Remove local variable and comment in host_load.cpp --- src/surf/plugins/host_load.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/surf/plugins/host_load.cpp b/src/surf/plugins/host_load.cpp index ebe41f4317..f3a09d6148 100644 --- a/src/surf/plugins/host_load.cpp +++ b/src/surf/plugins/host_load.cpp @@ -126,9 +126,7 @@ static void onActionStateChange(simgrid::surf::CpuAction* action, simgrid::surf: return; if (host != nullptr) { - // Get the host_load extension for the relevant host - HostLoad* host_load = host->extension(); - host_load->update(); + host->extension()->update(); } } } -- 2.20.1