From: Martin Quinson Date: Sun, 2 Oct 2016 16:24:46 +0000 (+0200) Subject: kill more dead code X-Git-Tag: v3_14~369 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/bfdba6424c0645e31cc60ee166e388cf8f283c3b?hp=e5926d5b5a0cc033e611562ce6668ce693a5ef15 kill more dead code --- diff --git a/src/surf/storage_n11.cpp b/src/surf/storage_n11.cpp index f5fd1610e8..8161a1b1a7 100644 --- a/src/surf/storage_n11.cpp +++ b/src/surf/storage_n11.cpp @@ -9,8 +9,6 @@ #include /*ceil*/ XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(surf_storage); -static xbt_swag_t storage_running_action_set_that_does_not_need_being_checked = nullptr; - /************* * CallBacks * *************/ @@ -63,17 +61,11 @@ namespace simgrid { namespace surf { StorageN11Model::StorageN11Model() : StorageModel() { - Action *action = nullptr; - XBT_DEBUG("surf_storage_model_init_internal"); - - storage_running_action_set_that_does_not_need_being_checked = xbt_swag_new(xbt_swag_offset(*action, stateHookup_)); maxminSystem_ = lmm_system_new(false /*lazy?*/); } StorageN11Model::~StorageN11Model(){ - xbt_swag_free(storage_running_action_set_that_does_not_need_being_checked); - storage_running_action_set_that_does_not_need_being_checked = nullptr; } #include "src/surf/xml/platf.hpp" // FIXME: move that back to the parsing area